Götz Becker Posted May 16, 2007 Report Share Posted May 16, 2007 Hi all, can someone explain me please what "grey" probes stand for? http://forums.lavag.org/index.php?act=attach&type=post&id=5869 Probe 9 in the attached picture doesn´t update, but with highligthing on or a connected indicator I see the correct value. I am trying to get started with DAQmx custom scales but when I try to write using the task handle, it fails because the scale with name xxx is not found. Greetings Quote Link to comment
crelf Posted May 16, 2007 Report Share Posted May 16, 2007 QUOTE(beckerg @ May 15 2007, 10:47 PM) can someone explain me please what "grey" probes stand for? I'm not 100% sure, but I'm going to say that it means that the probe can't probe. For example, if you probe a wire, and then delete a section of that wire, the wire becomes broken and subsequently the probe goes gray: it cant read the data because it doesn't know the datatype. I figure in this instance, there isn't a working probe for scale names - maybe you could make one in the form of a custom probe using a scale property node to get the description? (the "name" isn't a valid property) Try putting the code in the red box into a custom probe: http://forums.lavag.org/index.php?act=attach&type=post&id=5870''>http://forums.lavag.org/index.php?act=attach&type=post&id=5870'>http://forums.lavag.org/index.php?act=attach&type=post&id=5870 Quote Link to comment
VDB Posted May 16, 2007 Report Share Posted May 16, 2007 A custom probe using: Modern | I/O | DAQmx Name Controls | DAQmx Scale Name should do the trick. VDB Quote Link to comment
crelf Posted May 16, 2007 Report Share Posted May 16, 2007 QUOTE(VDB @ May 15 2007, 11:54 PM) Modern | I/O | DAQmx Name Controls | DAQmx Scale Name :thumbup: Even better than my suggestion! Quote Link to comment
Aristos Queue Posted May 16, 2007 Report Share Posted May 16, 2007 Gray probes are probes where the type of the probe doesn't match the type of the wire. This almost always happens from having a wire that is a typedef, putting a probe on the wire and then changing the type definition to be some other type. If the probe itself doesn't use the typedef'd type, then the dot on the wire will turn gray instead of yellow. Quote Link to comment
Götz Becker Posted May 16, 2007 Author Report Share Posted May 16, 2007 Thanks for the input. I just can´t get this thing working. Tried the custom probe which resulted in LV crashing. The DAQmx task I create with wired scale name as input (which I can even see with highligthing on) just produce an error the first time I want to write out a value. Enough trial and error for me today, I wrote a "Table Scaling"-VI myself and will stay away from DAQmx scales. Greetings from a rainy and _gray_ Munich :-) Edit: The subVI I used to create my scale: http://forums.lavag.org/index.php?act=attach&type=post&id=5873 Quote Link to comment
crelf Posted May 16, 2007 Report Share Posted May 16, 2007 QUOTE(beckerg @ May 16 2007, 01:22 AM) Tried the custom probe which resulted in LV crashing. What do you mean by "crashing"? You should be able to right click on the wire and select custom probe and the choose the type you need: http://forums.lavag.org/index.php?act=attach&type=post&id=5874''>http://forums.lavag.org/index.php?act=attach&type=post&id=5874'>http://forums.lavag.org/index.php?act=attach&type=post&id=5874 Quote Link to comment
Götz Becker Posted May 16, 2007 Author Report Share Posted May 16, 2007 This is basically what I did. While moving the mouse in the controls menu LV crashed. :thumbdown: Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.