LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trigger problem with PCI-6024E

We are trying to design a triggering VI to generate Firstal, we are using Labview 7.1.
A  pulse which is used to trigger the EMCCD, so that we can collect data sychronizedly, the problem is that the VI worked well ,but when we put it back into our program, it showed error, and even ran it again alone, ti showed the same error,
The VI is built using functions---Input------DAQ Assist, in the interface we chose PCI-6024E and generate dignals, then chose Counter ouput , pulse Out put, as shown in picture 2,.
So could you lease help us to redesign the VI?
Download All
0 Kudos
Message 1 of 2
(3,392 Views)

Welcome to the discussion forums, deathelement!

Since your VI wasn’t attached, I created this code myself and ran it, but I don’t get an error. I used a feature within LabVIEW to describe the error code -89130, which is choosing Help » Explain Error and typing the code in. The message I get with this error code is attached. If you have the same error explanation I’ve shown, there are two things to check:

1.       Try resetting the device in Measurement & Automation Explorer (MAX) by right-clicking the device and choosing Reset Device.

2.       Are you using this as a subVI inside of a VI that uses Traditional DAQ (T-DAQ) driver functions? If so, you can’t use T-DAQ functions with the DAQ Assistant because it is based on the newer DAQmx driver. I would recommend writing your entire VI in the DAQmx driver unless you need the Traditional DAQ driver for hardware supported only in it. Search for “NI DAQ” or “DAQmx” at ni.com/updates and check the readme files for the driver’s supported devices.

Side note: Did you want Timeout to be an indicator or the input to the DAQ Assistant? You can right-click and select Change to control if it should be an input control.

Assuming that gets rid of the error, I want to point out that you can also start with code that has already been written for common applications. These are called shipping examples and can be found in LabVIEW by selecting Help » Find Examples. There are several that might be of interest to you in the “Browse” tab under the Hardware Input and Output » DAQmx directory or by searching in the “Search” tab.



Message Edited by Mark E on 01-04-2008 10:44 AM
Mark E.
Precision DC Product Support Engineer
National Instruments

0 Kudos
Message 2 of 2
(3,315 Views)