07-15-2021 08:57 PM
When interfacing the NI cRIO 9049 with C Series Thermocouple 9213 , please kindly see the lab view code and error screenshot in attached word file ,
Labview version 2017 - 17.0 development system
Pls see attached word file for details.
Is it possible to provide lab view .vi file in scan engine mode and fpga for data logging ? since it is taken from one of the NI websites.
Pls kindly help on this , it is quite urgent.
Tks a lot.
07-15-2021 09:19 PM
Hi,
I am recently connecting 9049 cRIO to 9213 Thermocouple C series module,
The aim is to do data logging in scan engine mode.
Please refer to the Lab View code screenshot below ;
When Case Structure False;
Question 1 ) How should the LabVIEW code be when case structure TRUE ? What should be the logic ?
Please refer to error screenshot ;
I am using LabVIEW 2017 Version 17 .
Question 2)Please help resolve error ?
Question 3)Since this is taken from NI Website is it possible to provide LabVIEW .vi file for data logging in Scan Engine mode and FPGA Mode?
Please kindly help me it will be of great help. It is quite urgent.
We could discuss further once you get back to me.
Looking forward to hear from you soon.
Thanks a lot.
07-16-2021 01:02 AM - edited 07-16-2021 01:05 AM
Hi yash,
no need to start two threads for the same topic!
@yash99 wrote:
Question 1 ) How should the LabVIEW code be when case structure TRUE ? What should be the logic ?
Question 2)Please help resolve error ?
Question 3)Since this is taken from NI Website is it possible to provide LabVIEW .vi file for data logging in Scan Engine mode and FPGA Mode?
Why do you need a (Network)SharedVariable to transfer data between those two loops?
Why do you need a TimedWhileLoop to read thermocouple values?
What's the point in reading the thermocouples each 1000ms, but waiting for only 100ms at the consumer loop?
What's the point of that ReshapeArray operation? Is a simple BuildArray to complicated?
07-18-2021 02:47 AM
Hi,
Thank you very much for advice and help , really appreciate it !
Thanks a lot !
07-18-2021 10:37 PM
Hi I am getting error when i run the code below :
please kindly help me on this quite urgent.
Thanks a lot !
07-19-2021 01:51 AM - edited 07-19-2021 01:51 AM
Hi yash,
why don't you attach your code when there is an error within?
Why do we get just some images? We cannot run/edit/debug images with LabVIEW!
@yash99 wrote:
How is this error related to your cRIO target?
Why is there a path to file on your Windows host computer when the VI should be run on your RIO target?
What is this "TDM Importer"? (I only know of the TDMS import add-on for Excel…)
Where does that error occur? Which function in your code does result in this error?
Why don't you use AutoCleanup before posting images of code?
07-19-2021 02:45 AM
When I click to see the TDMS File , this error occurs. the tdms file is on desktop, but wn i tried putting it under the cRIO path same error occurs while seeing tdms file. see the red cross.
I used this code to log data into tdms file.
ls kindly help , it is urgent.
Thanks a lot !
07-19-2021 02:49 AM
code name : test1.vi
tdms file b.tdms in file path to do data logging
07-19-2021 02:59 AM
Hi yash,
@yash99 wrote:
the tdms file is on desktop, but wn i tried putting it under the cRIO path same error occurs while seeing tdms file. see the red cross.
A cRIO is a computer on its own: it cannot access files on your Windows host computer, neither on desktop nor any other file path of the host computers harddrive!
You need to transfer the file to your cRIO first before trying to read it with cRIO code!
This is explained in the cRIO/Realtime basics, in the examples coming with LabVIEW and in all those example projects coming with Realtime module…
07-19-2021 03:23 AM
Hi,
thanks a lot , any idea how to transfer file to cRIO ?
pls kindly help me , quite urgent.
Tks a lot.