11-24-2008 02:42 PM
SiegeX wrote:Ahh, yes that makes alot of sense, I originally just attached them and assumed it would also pop-up on the thread but it did not. I just assumed people were using 3rd party sites to host them so I did the same. Your method of pointing back to the NI server is a superior way of doing that, but that requires editing the message after the fact does it not? Or is there an easier way to figure out the URL of the image before submitting.
Unfortunately, you are required to submit the message with attachments first, then go back and edit the message to insert the actual linked images. There is a pattern for the file path to the images on the NI servers, but you are required to know your message number, and that doesn't get assigned until the message is actually submitted the first time.
By the way, have you been using the Code Capture Tool. If you haven't, I would highly recommend looking into that.
11-24-2008 03:01 PM
To get a boolean constant reference, do the following (out of my head I just closed LabVIEW):
Drop a Class Specifier Constant .
Right click the constant, select 'Select VI server class', traverse the tree via:
Generic, GObject, Control, Boolean.
Ton
11-24-2008 03:05 PM
TonP wrote:To get a boolean constant reference, do the following (out of my head I just closed LabVIEW):
Drop a Class Specifier Constant
.
Right click the constant, select 'Select VI server class', traverse the tree via:
Generic, GObject, Control, Boolean.
Ton
But to get a strict version (to avoid the variant data) I know of only two methods.
1) Create the ref from the boolean (as mentioned above)
or
2) change the contant to a control and then drag a boolean into the control ref control. It will adapt as a strict boolean. Change it back to a constant on the diagram.
Never did figure out how to navigae to strict version.
Ben
11-24-2008 03:16 PM - edited 11-24-2008 03:20 PM
By the way, have you been using the Code Capture Tool. If you haven't, I would highly recommend looking into that.
Hah no, I was using Photoshop which again I assumed you guys were using (or something of the like.) I just installed CCT and love it, thanks for the tip.
RE: Strict Boolean,
Ya I too have never been able to figure out how to navigate to a strict version, I had thought maybe they would have added that by now in 8.6 (im on 8.2). However I didn't know about that constant->control->constant method. I'll give that a shot. An interesting thing I just noticed is that using this method actually puts the word (strict) inside the constant whereas picking it off of an actual Boolean control does not. Does this behavior persist in 8.6?
11-24-2008 11:47 PM
11-25-2008 08:30 AM
11-25-2008 08:56 AM
11-25-2008 09:03 AM
The mouse down event returns a "PlatMods" cluster that includes a boolen to signal if the ctrl key was down when the object was clicked.
Ben
11-25-2008 09:21 AM
11-25-2008 11:04 AM - edited 11-25-2008 11:09 AM
Ben, I added the Mouse Down? event to the event structure, then unbundled the PlatMods to get the Ctrl item. I then used a local variable of the indicator as an input to a Boolen Property/Boolean Text/Font/Bold that I placed between the TO More Specific Class and the Boolean LAbel Text. The LED lights to tell me I've held down the ctrl key when I selected an element, but it does not format that font as bold. I readily confess my ignorance and beg your indulgence 🙂