LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data collection

Can you post your code or post a screen shot of your code?

 

Also, are all your error wires properly connected so that you receive an error message if a problem occurs?

Tanya Visser
National Instruments
LabVIEW Group Manager
0 Kudos
Message 11 of 13
(435 Views)

sure, attached is the code i wrote. thanks

0 Kudos
Message 12 of 13
(425 Views)

I looked at your VI and I'm missing a subVI - 'no timeout error'. It looks like this VI is clearing errors but I can't confirm this. Try removing this VI so you actually see if you are getting a timeout error.

 

Also, I'm not quite sure what you are trying to accomplish with the Elapsed Time VI. The Elapsed Time value seems quite small (10 ms) considering your loop will take at least 100 ms to run because of the Wait function.

 

Have you also tried using Highlight Execution to see if and where your VI is hanging. If it is hanging, highlight execution should show you where the problem is.

Tanya Visser
National Instruments
LabVIEW Group Manager
0 Kudos
Message 13 of 13
(411 Views)