Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Read VI (Microprocessor SDK)

LabVIEW 8.6 Microprocessor SDK Help
June 2008

NI Part Number:
372197B-01

»View Product Info

Reads data from the embedded target.

Your Read VI must have the following parameters on the connector pane:

  • connection data—A variant control. The contents of this variant come from the last invocation of an instrumented debugging plug-in VI.
  • bytes to read—A 32-bit signed integer numeric control that is the number of bytes read from the embedded target.
  • connection ID—A 32-bit signed integer numeric control that identifies the instrumented debugging session.
  • error out—An error cluster indicator.

After the read has finished, your Read VI must call nitargetReadData.vi, which is located in the following directory:

labview\vi.lib\LabVIEW Targets\TargetShared

nitargetReadData.vi sends the data that you read to LabVIEW. Wire the data read to the Data Read input in nitargetReadData.vi. Wire the connection ID from your Read VI to the Connection ID input in nitargetReadData.vi.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit