04-12-2019
07:00 AM
- last edited on
07-17-2024
10:08 PM
by
Content Cleaner
I am new to LabVIEW and want to measure thermocouples and log data using CompactRio. I have been following this tutorial https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x0UdCAI&l=en-US and have managed to do most of it but I am now at a point where I am not sure what to do as I am a bit confused by the tutorial. I have tried looking on the discussion forum thread which is linked at the bottom of the tutorial however this also discusses a different but similar tutorial for FPGA mode (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x3ruCAA&l=en-US) so I haven't had much luck.
If you view the screenshot attached from the Real-Time tutorial you will see I've circled two areas on the block diagram which I am not sure what they are and how to put them into my own diagram as I don't believe it is mentioned clearly in the tutorial. If someone could help me with these parts that would be great. Also the tutorial goes from step 31 to step 28 so is something missing or wrong?
Thanks in advance
Solved! Go to Solution.
04-15-2019 10:19 AM
Hi,
For the section of code on the left that you've circled, copy the stop variable from the bottom loop, then right click on the input and go to create>>constant. Make sure this is set to false (left click on the constant to change it). This will look a little bit different to what you see in the picture but is functionally the same.
For the error out indicator, right click on the "error out" terminal of the TDMS close function, then go to create>>indicator. Usually if you're not sure about something in LabVIEW, right clicking and looking at the options available will help. As well as this. Ctrl+H will open up the context help menu, giving you a bit more information on anything you hover over with your mouse.
It seems like the stop variable part has been missed out of the tutorial, but the error out is mentioned in step 31. As for the numbering going back to 28, I think this is just a formatting mistake and not because any steps have been missed out.
Best regards,
Jonah Winn
Technical Support Engineer
National Instruments
04-16-2019 03:50 AM
Thanks for your help Jonah much appreciated.