LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

my project writes accelerometer data to usb drive but shared variables do not communicate with modbus

Solved!
Go to solution

Hi there,

 

I have got a program that reads input from 3 off 9234 modules on a cRIO, the idea of the program is to read this data and save it in a bin file to a connected usb hard drive, the program also uses shared variables to connect the max signals from the 9234 then send thm to a modbus slave, my problem is that althought I am now getting the correct data on the usb drive I am not getting anything down the modbus link, I attach the program for you to see, all the shared variables are on the rt low speed loop, any help would be most grateful.

 

Many thanks

 

Jason 

0 Kudos
Message 1 of 3
(2,304 Views)

Hi Jasonh,

 

Thanks for posting your code! Due to the lack of comments on the code, would it be possible to direct me to where it sends the code to the modbus slave please?

 

This tutorial on How to turn a RT Target into a Modbus Slave using IO Servers may also be of some help.

 

Kind regards,

Tori
Student
0 Kudos
Message 2 of 3
(2,274 Views)
Solution
Accepted by topic author jasonh

Hi Tori,

 

Thanks for replying I found the fault it was on the FPGA main 9234, max the fixed point was coerced instead of being adapt to source now that I have adapted to source it works, Thanks for taking the time to look and reply.

 

Kind Regards

Jason

0 Kudos
Message 3 of 3
(2,269 Views)