LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert parallel to serial

Solved!
Go to solution

Hi hood,

 

which indicator are you talking about?

Perhaps the unwired "image" indicator? No wire, no data...

 

- What's the purpose of "Array"? It's just a 2D version of "output array 4"...

- Instead of InitArray with size=1 you can use BuildArray with just one input...

- When your DAQ device supports timed DO tasks you can output the whole "output array 4" with just one DAQAssistent call without the loop...

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 14
(760 Views)

thanks for the advice sir..  Array is the indicator im talking about.. i wired it outside because i want to use it for another function.. i just put an indicator to know what data will i have outside the loop.. thanks:)

0 Kudos
Message 12 of 14
(757 Views)

Hi hood,

 

"Array" will show data once the FOR loop is finished. THINK DATAFLOW!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 14
(752 Views)

You have that DAQ Assistant configured wrong.  You should not have to pass in an array of size 1.  Change the configuration to output a single sample of a single line.  Then you can just pass your boolean straight from the autoindexing tunnel to the data input of the DAQ Assistant.

 

Also, your while loop is running forever, forcing you to use the Abort button.  DON"T DO THAT!!!!  Put a stop button on your front panel and use that to stop your loop.  Using the abort button is bad because it doesn't allow the VI to perform cleanups of resources (like the DAQ).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 14 of 14
(730 Views)