Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

NI ELVIS Express VIs Reset the FGEN Output When FGEN Express VI is Run in a Separate VI

Primary Software: Driver Software>>NI ELVIS Driver VIs
Primary Software Version: 2.1
Primary Software Fixed Version: 2.1
Secondary Software: N/A
Hardware: Multifunction DAQ (MIO)>>Connector Blocks>>NI ELVIS

Problem: If I put the FGEN Express VI in a while loop in one VI and run it, and in another VI run one of the other instrument's (such as the DMM or Scope) Express VI, the second VI doesn't alter its output because the FGEN resources are still reserved by the first VI.

Solution: If you run the two Express VIs in the same VI and wire them together using the error cluster (see image), the second Express VI does not reset the FGEN output to the default sine wave.

The first VI is left alone so that it continues to output the waveform its configured to output, and the second VI performs the action that it is assigned to do. This will also work if you put the second VI in a while loop. To fix this either:
  1. Run the FGEN VI in a while loop
  2. Use the FGEN in manual mode


Related Links:

Attachments:


FGENExpVI.JPG


Report Date: 05/05/2006
Last Updated: 05/12/2006
Document ID: 3WA9F3WW

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit