From cd88d8dc6a154c63b521b7120bc942658fb78e24 Mon Sep 17 00:00:00 2001 From: fancynancy63 <161091538+fancynancy63@users.noreply.github.com> Date: Fri, 7 Mar 2025 15:35:29 -0600 Subject: [PATCH 1/2] Updated the first 5 steps for Lesson 1 Fab - please look at how the "bold" for the vi names renders. Should we bold or italicize? --- .../modules/ROOT/pages/course-manual.adoc | 43 ++++++++++++------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/cti-doc_en/content/modules/ROOT/pages/course-manual.adoc b/cti-doc_en/content/modules/ROOT/pages/course-manual.adoc index 00d310e..7f510d7 100644 --- a/cti-doc_en/content/modules/ROOT/pages/course-manual.adoc +++ b/cti-doc_en/content/modules/ROOT/pages/course-manual.adoc @@ -55,31 +55,44 @@ image::rw_003.00_DigitalOutputsWiring.png[] ==== -=== Lesson Instructions +=== Lesson 1 Instructions -The LabVIEW version of a “Hello World” program is to make a piece of -hardware do something basic, usually it is turning an LED On and Off. +The LabVIEW version of a “Hello World” program makes a piece of hardware +do something basic, usually turning an LED on and off. In this case, you +will also query the device so that it returns its “name.” -Load LabVIEW and select a New VI. +A block of code in LabVIEW is called a Virtual Instrument (VI). As such, +a LabVIEW program has a *.vi extension and is comprised of two parts. +The code resides in the Block Diagram and connects to the Front Panel +(or User Interface.) The Front Panel displays data in indicators and +receives data through inputs. (see the quick +https://www.linkedin.com/posts/nancyhenson_labview-spotteddogmedia-gdevcon-activity-7196295349852921856-iuGq?utm_source=share&utm_medium=member_desktop[video] +in this post) An application is comprised of many, if not hundreds or +thousands of VIs. -image::cm_005.00_SelectFile--NewVI.png[] -Setup the screen like this: +[arabic] +. Start LabVIEW +. Select a New VI. ++ -image::cm_006.00_SetupScreen_BlockDiagram_FrontPanel_Emulator.png[] +image::cm_005.00_SelectFile--NewVI.png[] -In LabVIEW a VI is a Virtual Instrument is equivalent to a function or -module in other languages. A LabVIEW program is made up of 1 or more -VIs. +. For these lessons, you will want to see the Front Panel and the Block +Diagram simultaneously. Arrange the components of the VI, the Block +Diagram, and the Front Panel like this: ++ -* In the block diagram right-click and navigate to the HandsOnPi2040 -Driver Palette. +image::cm_006.00_SetupScreen_BlockDiagram_FrontPanel_Emulator.png[] +. Position the mouse over the Block Diagram and right-click. The +Functions Palette opens. ++ image::cm_007.00_NavigateToHandsOnPi2040DriverPalette.png[] -Drag and drop Initialize.vi, WriteDO.vi and Close.vi onto the block diagram -as shown below. - +. Select and drop the following onto the Block Diagram: *Initialize.vi*, +*WriteDO.vi*, and *Close.vi*. ++ image::cm_008.00_DrangAndDrop-Initialize-WriteDO-Close.png[] NOTE: The Run-arrow is broken (the run arrow appears in the top left corner), if you press it, it will list all the reasons why it`s broken. From 5e1fab31fa2acdae81c4ce02d2ad47dfc93a19dd Mon Sep 17 00:00:00 2001 From: Tim Robinson <60667522+crossrulz@users.noreply.github.com> Date: Fri, 14 Mar 2025 14:13:43 -0400 Subject: [PATCH 2/2] Update index.adoc Corrected Pi Hut links for Pi Pico and breadboard --- cti-doc_en/content/modules/ROOT/pages/index.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cti-doc_en/content/modules/ROOT/pages/index.adoc b/cti-doc_en/content/modules/ROOT/pages/index.adoc index dc1fa38..6943b0b 100644 --- a/cti-doc_en/content/modules/ROOT/pages/index.adoc +++ b/cti-doc_en/content/modules/ROOT/pages/index.adoc @@ -164,12 +164,13 @@ USA and UK Suppliers Raspberry Pi Pico: -* https://thepihut.com/products/breadboard-kit-for-raspberry-pi-pico[Pi Hut] +* https://thepihut.com/products/raspberry-pi-pico[Pi Hut] * https://www.digikey.com/en/products/detail/raspberry-pi/SC0917/16608257[Digikey] Pico Breadboard Kit: +* https://thepihut.com/products/breadboard-kit-for-raspberry-pi-pico[Pi Hut] * https://www.pishop.us/product/pico-breadboard-kit[Pi Shop] * https://www.digikey.com/en/products/detail/sb-components-ltd/SKU20843/16836965[Digikey]