LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problems with Real-time application

Hello,

I developing a application for acquisition sensors and treatment of data.This application uses shared variables and Modbus data available in labview.

My application running normally, but when I try to deploy in real-time application, it don't give the same informations and I have a file error that is attached parts.Shared variables and modbus data are not compatible with real time application?

 

Thanks for your help

0 Kudos
Message 1 of 7
(2,980 Views)
What hardware is your application running on? There is nothing abut RT that would explicitly preclude any of the things that you mention you are using. What does you code look like? What errors? What do you mean that the code gives "different information"? No data? Different data?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 7
(2,971 Views)

My hardware is NI CompactRIO 9074. My data is temperature data, current data, (data 0-10V. these data are acquired in a while loop then I assigns each parameter coefficient. Then I put them in shared FIFO variables, and I also published in modbus.dans one second while loop, I receives the data shared variables and I recorded in a text file type csv).

I'll give you a csv file. The results are completely different, there is still zero as a value when one is real time.

0 Kudos
Message 3 of 7
(2,953 Views)

File error?  That just screams you are trying to write to the C drive, which does not exist on an RT system.


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 4 of 7
(2,944 Views)

I think the cRIO 9074 OS is VxWorks, so it should have C drive, but the path syntax is different than WIndows, i.e. /c/logs/errors. I was using similar path to log errors on a cRIO 9024

0 Kudos
Message 5 of 7
(2,931 Views)

Working with File Paths on Real-Time Targets

 

I've seen lots of people ask where their files are because they are writing on the cRIO and not their Windows machine.


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 6 of 7
(2,925 Views)

 My Project, real time application and file generate after deploy my real time application are attached file.

Thanks

 

0 Kudos
Message 7 of 7
(2,892 Views)