LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-DIO-32HS Error-10408

Hi,
 
      I am using PCI-6533 Card for high speed continous acquisition. I have done a program in traditional DAQ for this card to read port data but i am getting an error message 10408-The specified Channel is in Use. I am configured that as port not as channel name and i am not using those ports any where. So Pls suggest me what might be the problem. i have attached the VI for reference.
0 Kudos
Message 1 of 7
(3,381 Views)

why not switch to DAQmx? things are much easier to set with the new drivers

i am not remembering well operations with traditional DAQ on the 6533, but could it be that you have to set the hanshaking mode to Burst (all other unchanged)?
or, you need to put the handshake source to internal (you are not doing a handshaking operation, are you?).
also, i see you configure port 0 and 1, (meaning you aquire u16 data) but at the read your indicator is an array of u8. seems wrong to me.
clock frequency is undefined.
finally, you might want to keep track of the aquired data. put it in a shift register.

update me if it helps.

-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
0 Kudos
Message 2 of 7
(3,377 Views)
Hi,
         I was not doing the handshaking part in that previous program and i restarted my system once and i didnt get that error message but i dont no the specific reason for this. Now i have attached other VI with handshaking and writing some datas in port 0 and 1. I need one help here that, i have to generate (if Clk pulses available in card in which pin) clock pulses. For every clock cycle i have to write only 1 data. Can u pls suggest me.
0 Kudos
Message 3 of 7
(3,370 Views)

Hi AutoTEC,

If I understand you correctly, you want to drive a pin with your internal clock source. The Route Signal.vi can be used to route an internal signal to one of your PFI/PCLK pins. To do this place the VI (Measurement I/O » Traditional DAQ » Calibration and Configuration » Rout Signal.vi) before starting your operation. Wire your taskID in and create constants for the signal name and signal source input terminals. For the signal name, select which line you would like to drive (i.e. PFI0/ACK0) in the constant you created. For the signal source, select the internal signal that you want to route to signal name (i.e. stable 10 MHz).

There are several examples included with the DAQ driver that may prove useful. You can find them if you browse by Directory Structure in the NI Example Finder (Help » Find Examples…) to daq » digital » 653x.llb.

Please post back if you have any questions. Have a great day!

Ryan D.
District Sales Manager for Boston & Northern New England
National Instruments
0 Kudos
Message 4 of 7
(3,348 Views)
on top of the advices of Ryan, check if you want to do hanshaking or continuous/burst generation. these are 2 different operations.
from you you write in your post it seems you want to ouptut data at a certain rate, not hanshaking.
-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
0 Kudos
Message 5 of 7
(3,340 Views)
Hi Gabbi,
 
You are right i want to ouptut data at a certain rate, not hanshaking and i want to give the same clock pulses to some external device. So pls can u suggest me .So for every Clock pulse the external device will read the Output data from DAC.
0 Kudos
Message 6 of 7
(3,328 Views)
hello autoTEC,
 
i am away from a LV computer for the next few weeks, so cant really show solutions.
begin to look at this thread to see how i do it. this is however a little complicated way of doing so, and there are lots of examples showing exactly how to output data to the card.
look also at this recent thread, and read trough it.
 
now, to create a clock output, simply have a while loop toggling one bit (true/false), and the output frequency is the rate of DAQ you need.
for simplicity it is easier if this toglging bit is the LSB or the MSB.
you will have 2 problems: if you have to outputs other lines at the same time, you will have to integrate this bit with the other lines. can be done using "join numbers" in the "data manipulation" subpallette of "numeric".
second problem: you might want to write data to buffer in chunks, rather than one sample at a time. this is to allow the output rate to keep its pace.
 
i cant help more at the moment. get started, (thread and examples) and we'll see on the road how to make it work.
 
-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
0 Kudos
Message 7 of 7
(3,312 Views)