06-09-2006 10:50 AM
06-12-2006 03:32 PM
06-12-2006 04:30 PM
Hi Jeffrey,
I have been messing around and found that my problem is in reading the IMAQ interface type. When I am running the vi through Labview I get an interface number of 5129, but as an exe the number is 1409 which is the board type that I am using. Not sure why there is a difference between the two? However we are using two different types of cards (1409 and 1411) in our lab and I need to identify which type it is because the setting values are different. If you look at my code I have a condition at the start to check this. But if I check to see if the type is equal to a 1409 (which is the card I have in my development machine) it will return it as false. I have set the check as a not equal to so I can get this application up and running for now. Maybe you could give me some idea as to why?
Terry.
06-13-2006 11:41 AM
06-13-2006 12:21 PM
Thanks Jeffrey,
I didn't even notice that the value coming out of the property node was a ring.
Here is a summery of why I was getting the original nondescript error message. The error message was coming from a part of my application that is automaticlly capturing images at predefined intervals. In this sub-vi I set the black/white or brightness/contrast (depending on the IMAQ card being used) to a pre-defined level. The pre-defined level comes from the BCS Adjustment.vi that I had attached. This vi sets up the minimum and maximun values for the settings based on the card. Because the vi was not properly indentifing the IMAQ card, the wrong values were being set in my capture vi and thus giving me the error.
Again thanks for your help.
Terry.