FlexLogger

cancel
Showing results for 
Search instead for 
Did you mean: 

Outputting on CAN

Hello,

 

I have a 9189 Chassis and 9862 CAN card as well as other analogue inputs.

 

I am looking to output the values from the AN inputs to CAN. Is this possible?

 

I can broadcast a live value on CAN and receive it with another device no problem so it seems this is simply a matter of directing the acquired value from 1 channel to "Live value" field of a CAN signal. For example I want to measure 10 temperatures with thermocouples on a device being monitored/controlled via CANalyser, I want to use flex logger to grab and display the data at 10Hz while I do the test and output 2 of the temperatures on to CAN, so that it is recorded for future use/analysis along with the rest of the CAN data.

 

The only way I seem to be able to use the CAN output is to send a predetermined value by using the Events process...?

 

Thanks,

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

Hello JCF@DMS,

 

Thanks for reaching out. Currently within FlexLogger there are a couple of ways to update output values. You can either directly edit the output values on the channel specification or from a control that is mapped to the output channel on the screen manually. Or as you have discovered, you can also update the output value to a predetermined value using an event.

 

At the moment, there is not a way natively to push an input value to an output channel within FlexLogger, but this is something that we have on the roadmap to support. Feel free to send me an email at Tommy.glicker@ni.com if you would like to provide more information about your use case and/or would be interested in providing feedback about the feature in general.

 

In the mean time, there is a potential work-around that may work for your use case, using the SystemLink Tags. See this page for more information: https://www.ni.com/documentation/en/flexlogger/latest/manual/using-systemlink-tags-to-exchange-data/. By using this method, you could create an application that takes the input CAN values and then using those values to automatically update the CAN output values by updating the TAG value for the CAN output values. There are a few caveats with this method as well, but feel free to ask me about this over email as well.

 

Thanks,

Tommy

Tommy G.
Product Manager - Search, My Account, and Chat
0 Kudos
Message 2 of 3
(2,834 Views)

Hi Tommy_G,

 

Thanks. I'll have a look in to this and drop you an e-mail.

 

Regards,
James. 

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