-
Posts
1,991 -
Joined
-
Last visited
-
Days Won
38
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Ton Plomp
-
-
Both files should install the same code-base.
The mark 258 is the actual SVN revision used for the build. I haven't incorperated that into the OGP builder
Ton
-
LabVIEW has an SMTP email client, that allows you to send an email.
If you want that email to contain HTML contents, you just have to put that into the message of the email.
For the actual content of the HTML message I would look at some email's you want to mimic.
Note however that sending email has got quite tricky the most recent years. All large online email-systems (yahoo, google/gmail, microsoft/hotmail/live.com) allmost force you to go through a known email server. It is one of the effects where the normal people suffer from the bad exceptions (spam).
Ton
-
You could store the buttons in one cluster or array, and if a value change event is triggered you could XOR the old and the new values, that should only keep the changed button 'TRUE'.
Further question is it possible to turn all buttons of?
If so, the XOR trick won't work.
TOn
-
It's not the looping I'm concerned about, it's more that I've got a lot of calls, that I need to route via an executable.
Ton
-
No I need to run an Mercurial API command, and read it's output.
Sometimes I have to do this many times due to some issues out of my control, I have a hunch that opening the CMD is quite extensive. So I want to remove that overhead.
Ton
-
I have an app that needs to communicate via the CMD, I think that every call into the CMD is causing quite some overhead. Does anybody know how I can keep a CMD reference open and execute commands in it, and read the output?
Ton
-
Have you looked at the SVN Log command?
TSVN is a GUI frontend for SVN, and SVN is more command line friendly.
Ton
-
One question, how did you get the zip-library on that computer?
For RT there are some special procedures.
Ton
-
Your best bet is to discuss your fixes with RolfK.
Could you tell what RT OS is installed on that PXI?
Ton
-
Another approach is to rely on Max-tasks.
You can configure your daq-task with max (with custom scales, calibration and min-max values per channel), and your application will use those settings by referencing to the task.
Ton
-
How about using the 'old' XY graph, and changing the offset of the data-points on the X-chart?
Ton
-
It's definitly possible to resize the window of a VI:
<!-- copy and paste. Modify height and width if desired. --> <object id="scPlayer" width="630" height="547" type="application/x-shockwave-flash" data="http://content.screencast.com/users/TonPlomp/folders/Jing/media/fef9ccd7-0107-434c-bc37-e6c4104cbbde/jingswfplayer.swf" > <param name="movie" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/fef9ccd7-0107-434c-bc37-e6c4104cbbde/jingswfplayer.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#FFFFFF" /> <param name="flashVars" value="thumb=http://content.screencast.com/users/TonPlomp/folders/Jing/media/fef9ccd7-0107-434c-bc37-e6c4104cbbde/FirstFrame.jpg&containerwidth=630&containerheight=547&content=http://content.screencast.com/users/TonPlomp/folders/Jing/media/fef9ccd7-0107-434c-bc37-e6c4104cbbde/ResizeFP.swf&blurover=false" /> <param name="allowFullScreen" value="true" /> <param name="scale" value="showall" /> <param name="allowScriptAccess" value="always" /> <param name="base" value="http://content.screencast.com/users/TonPlomp/folders/Jing/media/fef9ccd7-0107-434c-bc37-e6c4104cbbde/" /> Unable to display content. Adobe Flash is required.</object>
Good luck,
Ton
-
I think it has been there since 7.1
LV 7 still had some issues with DST. (here's a lengthy discussion on DST stuff).
Ton
-
You can resize the window, not the panel.
Have a look a the FP.window size property.
Ton
-
I'm currently using NI Source distribution builder together with VIPM to create a LVTN version of the Code Capture Tool.
One of our (mine and Yair) targets is to be independent on other tools like OpenG (however when using VIPM that is very unlikely).
So I made a source distro with LabVIEW, and included any stuff in user.lib (OpenG) and excluded vi.lib.
Just for fun I embedded vi.lib, and the support folder went from 500 kb (OpenG) to 2.8 MB (including all the config files for instance).
Ton
-
peek and poke on the Commodore 64 after loading the game but before running it!
Ton
-
I was just building a tool and wanted to include OpenG as sub-vis of the tool.
And that is possible, I can uncheck the 'exclude files from user.lib' to achieve that.
However if we move OpenG to vi.lib we cannot use the 'exclude files from vi.lib'. Since that would include a lot of internal vi.lib stuff...
So in a blink of a second I changed from 'YES' to 'NO'
-
For formatting the string I would prefer the ISO8601 format.
Current timestamp 2011-10-10T17:43Z .
- 1
-
On Stackoverflow someone posted a question on how to recover a VI's password
To my surprise there was a thorough answer containing two methods:
- Look up the stored MD5 hash in a VI file
I can understand this, and am not really concerned, this might be a valid method if you know a password is from a given list (choosing a password from a dictionary is dumb anyway). - Modify the LabVIEW executable binary to ignore the password checking.
I have not tried this on LabVIEW 2011, but if this works it basically means that passwords are just a sign that says 'Do not trespass'
Can anyone verify the LabVIEW edit function in 2011.
On a more general discussion, does this troubles you anyway?
Ton
- 1
- Look up the stored MD5 hash in a VI file
-
So you mean that the FP-update is the real killer?
That would be very strange. Notice that I took a file of 5.5 Megabytes resulting in an array of 5.5 Million Elements, since a single string char is 5 bytes, the total array would be 27.5 Megabytes, with the resulting string being 11 Megabytes.
I had the same results in 2010 though.
It might be that the size of the input file is important.
Ton
-
If you XOR the old and new values, all the changed booleans will be True.
Ton
- 1
-
You have one case structure, that has two cases 'write' and 'read'.
Both case-names are in red because they don't match the selector data-type (an unconnected selector defaults to boolean allowing 'False' and 'True').
If you want to use a string as selector you need to add a 'default' case (or make one of the two cases default).
You could also add a Boolean as selector, making it a read or write boolean.
Ton
PS if you are in the error dialog (ctrl-L), you can double click on the error and you'll get send to the error.
-
I was looking at a function to format a binary string as hex, and tried to get some performance.
I was shocked with the following results:
What i've concluded is that the Integer to Hex-string function for arrays is not working with U8's but with something else (U32's?).
Ton
- 2
-
Two suggestions:
- use the Icon of the polymorphic instance instead of the icon of the polymorphic VI.
- Add a to-lower-case in the Hexidecimal VI, LabVIEW formats HEX with UPPERcase, while we've seen that the official standard is lowercase
Ton
- 1
- use the Icon of the polymorphic instance instead of the icon of the polymorphic VI.
TortoiseSVN setup question
in Source Code Control
Posted
Hello Callahan,
I wouldn't use your own server for serious public hosting. There are free (or almost free) hosting options for SVN available.
But if you insist, you need a few things, an domain address that points to your computer's IP-address. Most likely your computer is not directly connected to the internet, but via a router, so you need to set up the firewall or NAT of the router to point port 80 to your internal computer IP address.
If your computer is at work you'll need to consult IT for the exact configurations.
Ton