IF-RIO

cancel
Showing results for 
Search instead for 
Did you mean: 

procedure fpr getting output from DAC

This is Sreenivasulu.I have started working on NI-5640R LabVIEW card.
i got some problem in Developing the Host VI.Here i am attached one error image and
errors i got.Please check it andhelp me solution for this problem.

Block Diagram Errors:

1 & 2 & 3.Event data Node:Contains unwired or bad terminal

Details:One or more required inputs to this function are not wired or are wired
incorrectly. Show the Context Help window to see what the connections to this function
should be.

4.Event Structure:one or more event cases have no events defined

Details:An event specifier must be defined for each event handling case.

Tell me procedure to take signal from NI-5640R card(DAC outputs 0 and 1).
For this what i have to do in HOST part as well as FPGA part.

with regards,
Sreenivasulu.O
Download All
0 Kudos
Message 1 of 4
(7,483 Views)
Hi Sreenivasulu
 
The errors that you have seem to be related to the Event Structure in the code.  From the first three errors in the image you posted, I would say that something is wired to the event data nodes that does not match in terms of data type.
 
The last error says that one of the event structure’s cases is not tied to a control to react to an event for.  If you click through the possible cases, look for a case that has event selector label blank.  Which means that it is not associated with a control, etc.  The event data nodes are probably also undefined in this case so that whatever they were meant to connect to is no longer compatible.  If you fix this case, you’ll probably fix the other three errors as well.
 
 
If you have any more questions on the Event Structure, or any other general LabVIEW question, you may want to post on the LabVIEW Forum.  There are a lot more people there monitoring the forum that know more about LabVIEW than I.
 
Jerry
0 Kudos
Message 2 of 4
(7,451 Views)
Hi Jerry,
Thanks for your soon reply.
Tell me procedure to take signal from NI-5640R card(DAC outputs 0 and 1).
For this what i have to do in HOST part as well as FPGA part.
i generated AM modulated signal(Fc 21.4MHz).how i ahve to give this signal to labview card and how i have to get analog output from card.
for this what is the main  changes in my prevouse  attachements.(if u have any example VI(HOST&FPGA) for this plz send me).

Thanking you so much.

Thanks & regards,
Sreenivasulu.O
0 Kudos
Message 3 of 4
(7,419 Views)
Sreenivasulu,

There are some shipping examples that show how to send data to the PCI-5640R that are installed with the driver.

If you do not need to do any custom processing on the FPGA, you may want to take a look at 'Stream from Disk.vi' in the Driver examples directory. You could use this as a starting point and replace the file access with your own data generation.

If you do need to perform custom processing on the FPGA, you may want to take a look at the 'Analog Input and Output' example.

~Philippe
0 Kudos
Message 4 of 4
(6,849 Views)