05-15-2019 10:18 AM
Hello,
Is there any example code on how to create a signal for triggering in an XNET session with SignalInSinglePoint?
I added this signal to the list for the create session function ":trigger:.CANEventFrame1.CANEventSignal1", but it coudn't find it.
Also, how are you supposed to poll this signal?
Thanks,
Terry Moss
05-16-2019 05:25 PM
Someone might be willing to chime in if you describe in a little more detail what you are trying to accomplish. That said, this document:
http://zone.ni.com/reference/en-XX/help/372841U-01/nixnet/gettingstarted_c/
Seems to suggest you might find CAN examples here:
Hardware Input and Output»CAN»NI-XNET»Basic
05-22-2019 01:06 PM - edited 05-22-2019 01:08 PM
I followed the explanation from the XNET C-API, and that was what I put in the original post.
I would assume NI has someone who understands the API well enough to explain how to create triggers and use them.
It's ok, if you have to poll the trigger, then it's not very useful anyway, the same can be done with comparing the event times, and take the data whenever it changes.
I don't think any of the examples cover this feature.