LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade IMAQ 2 to 3 using Labview 7.1

Hi,
 
I just upgraded my IMAQ software from version 2.6 to 3.1 in order to solve a problem I had with the PCI-1424 board. This upgrade solved the problem, but now the Labview 7.1 application that I was using no longer works (it reports an error in IMAQ start.vi). As I am not the original developer of this particular piece of software and have no real experience with using IMAQ in Labview, I was wondering if anyone had any tips on what I should look for when modifying the application to get it to work again with this upgrade. Any tips would be appreciated.
0 Kudos
Message 1 of 5
(2,930 Views)
Some additional info:
It seems that either imgGetBufList.vi no longer obtains the correct buffer ID (vi.lib\vision\driver\DLLCalls.llb) or that SessionLookup.vi doesn't provide the correct session and interface ID's. Anything else I want to do with the camera works fine so far, but these two things don't. Any IMAQ wizardry on why this is would be appreciated.
0 Kudos
Message 2 of 5
(2,920 Views)
Ok, I solved my own problem. In case anyone ever runs into similar problems: it seems like IMAQ 3 doesn't like it when you call the low-level "IMAQ stop" function and then use the "IMAQ start" function without explicitly redefining all buffers (in the previous versions, it just kept all the buffers if IMAQ clear wasn't called)
0 Kudos
Message 3 of 5
(2,916 Views)
Just wondering, instead of the low level IMAQ Stop command, what if you instead just did a IMAQ Grab Setup ?  Does that clear up your problems? Thanks!
- crazycliffy
0 Kudos
Message 4 of 5
(2,896 Views)
Yeah, that's how I got it to work again... I assumed at first that there was a perfectly good reason for the person who originally wrote the stuff I'm working with to use the low-level commands. Turns out it works fine with the normal VI's as well.
0 Kudos
Message 5 of 5
(2,885 Views)