LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cFP and shared variable binding

I think I'm starting to lose my mind, but let me know if this is not possible.
I have a cFP system setup with scaling on the cFP channels.  I want to bind those to shared variables with the SVE running on the cFP controller.
When I access the values using read cFP I get the scaled value.  However, when I use the shared variable which is bound to the network address of the cFP IO channel, the scaling goes away and I see the raw value from the cFP hardware.
Is there not a way to have the shared variable use the scaled value?
 
Thanks,
Michael
0 Kudos
Message 1 of 5
(4,398 Views)
Anyone have anything on this issue?
0 Kudos
Message 2 of 5
(4,374 Views)
Don't bind the shared variable to the cFP I/O.  Modify the vi on the cFP to write the scaled value to a shared network variable that a remote vi can access.
0 Kudos
Message 3 of 5
(4,363 Views)

Thats essentially what I've done.  The SVE is being hosted on the cFP.  I'm using a feedbackRAW variable bound to the cfp I/O, applying scaling, and then writing to a feedback variable.  Obviously, if I had DSC I could just apply scaling to the shared variable.  I just don't understand why the scaling on the cFP channel doesn't show up when you bind a variable to that I/O.

0 Kudos
Message 4 of 5
(4,360 Views)
I'm sure it is directly related to how LV handles scaling cFP I/O.  Can only speculate that when the shared variable engine reads the cFP I/O, it does not know about the scaling that is in place and thus does nothing about it.
0 Kudos
Message 5 of 5
(4,351 Views)