02-07-2009 02:40 PM
Hello:
First of I am a total newbie to Labview so apologies if the answer seem obvious/trivial. This is what i have seem able to put together based on using sample VIs as well as reading up on here. Some set-up details
* Application: 2 Channel AnalogVoltage Input To DAQ, 1 Channel Analog Voltage Output From DAQ
* Hardware: NI-PCI-MIO-16E-4 (Dev2), BNC-2110 Connector Block
* OS: Windows XP
* Version: Labview 8.5
* Wiring: Two sensors via BNC to Dev2/ai0 and Dev2/ai1, BNC to PFI0 From TTL Generator, BNC From Dev2/ao0 For Hardware Gain Control
Intent:
1. Simultaneously trigger the acquisition channels (dev2/ai0 and dev2/ai1) and voltage generation uing a TTL signal (connected to PFI0)
2. Especially important to be able to generate a decaying voltage signal out of Dev2/ao0 which i use for controlling a separate piece of hardware.
Approach (My VI is attached):
1. I created the analog input/output channels, wired the input channels in series. Added timingand triggering VIs
2. Selected PFI0 as trigger source for AI. Selected Dev2/ai/StartTrigger as trigger source for AO. Selested Dev2/ai/SampleClock for AO timing for sync purposes
3. Used a start sequence to make sure AI start first
4. Code give the following error:
=================================================
Error 3 occurred at an unidentified location:
Possible reason(s):
LabVIEW: Internal error. Wrong memory zone accessed.
=========================
NI-488: GPIB Controller not addressed correctly.
==================================================
Any pointers as to what i'm doing wrong? Any help is really appreciated as I am on a deadline.
My gut instinct is that its related to reading the input/writing the output data but not sure what.
Thanks a lot!
Cheers,
Solved! Go to Solution.
02-09-2009 11:47 PM
uidahosa,
This KnowledgeBase article describes your problem. I didn't see specifically this situation in your code but the "Okay + Warnings" is wired to the [error code] input which I think was probably a misclick. I am curious to see what errors you get after this.