26
Oct 12

LabVIEW File Path Type is Cross-Platform

If you’re a regular LabVIEW user you’ve probably programmatically (sorry, I hate that word too) referenced another file at some point. Most likely you’ve done this 212 to save some data or dynamically open another VI. Both tasks require the path to the file you need to work Gaziantep with. The challenge, however, is that path formats are OS dependent. For example, Windows uses the backslash (\) for denoting directory levels while Mac OS X uses the forward slash (/). If you plan on accessing a file using the Strip and Build Path functions, you need to use the correct slash to get to the new location. Using a string data type will require you to do a bit of extra work to properly identify the operating system and then the properly formatted string. Good news: there is a better way.

Continue reading →


16
Oct 12

NaN Comparisons in LabVIEW

Let’s start out right with a quick tip for newer LabVIEW developers. The numeric data Staff type in LabVIEW supports a cheap jerseys NaN (Not a Number) value. This can be useful beyond catching zero divided by zero errors. For instance, inserting a NaN into an X-Y Graph’s input arrays at the same wholesale jerseys China indices Motivos displays a “null” point on the graph. This has the effect of creating gaps in your display.

y = x with a русалок random distribution of NaNs.

Continue reading →