Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with NI-DAQmx

Hello,

I have:
- windows 2000
- vb.net 2003
- a serial port
- a PCI 6229 NI-DAQmx

My application consists in
- acquiring analog measurements using interrupts (50hz 25 samples) .
- communicating permanently with another device using a RS232 serial port.

When I disable the analog acquisition, the sofware is working fine. When the analog acquisition is on, I get wrong packets from the serial line.

Do you have any experience of such problems (interrupt conflicts or similar)? IS there specific IRQ settings for the DAQ device?

Thanks in advance,

0 Kudos
Message 1 of 4
(3,232 Views)

Hi,

have you try to use an example ?

To see if you have the same problem with a good code, and with only DAQ code, you can found example in this directory :

C:\Program Files\National Instruments\NI-DAQ\Examples

Or in the web :

http://www.ni.com/devzone/dev_exchange/ex_search.htm

We haven't similar problem, IRQ is automatically affected to your device.

Regards,

Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France

0 Kudos
Message 2 of 4
(3,205 Views)
Bonjour,
 
Merci pour votre réponse.
Je me permets de vous répondre en français.
 
Mon programme est issu d'un exemple de NI. (C:\Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples\DAQmx\Analog In\Measure Voltage\ContAcqVoltageSamples_IntClk\vb)
 
La seule différence est que j'ai rajouté un timer afin d'échanger des données sur le port série et là, les interruptions de la carte NI DAQ (lecture des entrées analogiques) perturbent de temps en temps les trames RS232 (les trames recues n'ont rien à voir avec la trame émise depuis un autre PC). Lorsque je lance le programme sans la lecture analogique sur la carte NI DAQ, je n'ai aucun problème.
 
Cordialement,
0 Kudos
Message 3 of 4
(3,169 Views)

Bonsoir,

 

Afin de mieux résoudre votre problème, pourriez vous nous appelez chez National Instrument France (Dossier SR 290666)

 

Cordialement,

Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France

0 Kudos
Message 4 of 4
(3,153 Views)