08-04-2009 11:53 AM
Hello,
I am currently working on genenerating two output waveforms on the NI PCI 6115. I would like to have the option of what type of waveform in the program (i.e. sawtooth, triangular, sine, etc). These will be used to operate a scanner for a medical imaging method.
I searched the examples codes and found this: http://decibel.ni.com/content/docs/DOC-3457
However, everytime i open it using Labview, it does a search for some files and asks me to locate them on my hard drive (but i dont have these files).
If anyone can assist me with this problem and help me get this program running on my PCI 6115, that would be great!
Thanks!
08-04-2009 11:54 AM
08-05-2009 12:01 PM
Hi, Canuck88.
I need to know three things in order to solve this issue:
1. What files is LabVIEW asking you to locate?
2. What driver (including version) are you using?
3. What version of LabVIEW are you using? Is it the LabVIEW full development system or LabVIEW base?
I hope you're having a great day!
08-05-2009 05:04 PM
Hi Sara,
Before i answer your 3 questions, here is a bit more information about our project:
We are using Labview to control the NI PCI 6115 board to generate 2 analog output waveforms. In our program interface, we would like to be able to control frequency and amplitude and also choose a type of waveform (e.g. triangular, sawtooth, sine, or a user defined waveform). This waveform will be used to drive a mirror which will in turn control a scanner that will be integrated in our medical imaging process.
After searching on the NI website for examples, i came across this one: http://decibel.ni.com/content/docs/DOC-3457
This example seems to be almost exactly what we need, minus the user-defined waveform.
Now, when i downloaded the example VI and ran it on labview, i was given the indication that i am missing a few files:
- "DAQmx Trigger.vi"
- "DAQmx Timing (Sample Clock).vi"
- "DAQmx Create Channel (AO-Voltage-Basic).vi"
- "DAQmx Write (Analog 1D Wfm NChan NSamp).vi"
- "DAQmx Is Task Done.vi"
- "DAQmx Clear Task.vi"
- "DAQmx Write.vi"
- "DAQmx Start Task.vi"
- "DAQmx Create Virtual Channel.vi"
- "DAQmx Timing.vi"
For example, when i initially click on the VI for the sample code i found online to open the file, this message appears:
Only after i click "ignore item" or "cancel" will it open the VI.
In terms of the software i am using, i installed everything on the NI LabVIEW Core Software DVDs (disk 1 and 2) and also all the items on NI Device Driver DVD. On the DVDs it says February 2009 and Spring 2009, so i am assuming this is the latest version of the software.
Thanks so much!
08-05-2009 05:06 PM
08-06-2009 04:54 PM
Hi, Canuck88.
It seems as if the order of installation had caused this issue to occur. A simple solution is to repair the DAQmx driver. (Go to Control Panel » Add or Remove Programs » National Instruments Software » NI-DAQmx x.x, and select "Repair").
If this doesn't solve the issue, respond to this post, and I'll find more solutions for you. I hope you're having a great day!