Understanding code complexity
I recently refactored a legacy VI which was programmed in 7.1 days. It involved the usage of about 20 occurrences to trigger many parallel loops, each of which contained a simple operation. The code...
View ArticleYokogawa driver MX100
I am hoping someone out there is using these drivers and can give me a jump start. I am located in NY and my client and the hardware (MX100) are located 5 or 600 miles away in Toronto so I have no...
View ArticleCan I control the amount of time for timed loop
I was curious if it is possible to control how long each frame of the time loop takes or does it have to be constant for each section?
View ArticleDrag and Drop Listbox: Box 1 to Box 2 then same data dragged back to Box 1
Right now, I have one listbox (1) with string data that can be dragged to another listbox (2). However, I cannot take that same string data and drag it back to the original listbox (1).If I try to do...
View ArticleShared & user-defined variable behavior when they are passed an error?
If a [TRUE] error condition is preset at its input terminal:What is the expected behavior for a shared variable which is being read? My guess: To return the default value for the datatype...
View ArticlePrint SubPanel
With the vi "Easy Print VI Panel..." it is possible to print the front panel of a vi. This works fine as long as the vi is not in a SubPanel.When I want to print the SubPanel the main vi hangs. With...
View ArticleLabview Executable - Missing .ini file for VI Server
I have a LabVIEW executable (.exe) file that runs perfectly when I execute it. The problem I have is that I did not build this executable. I need a way to access its .ini file so that I can add the...
View ArticleReport Generation libraries
Hi Everyone I have a problem with the report generation tooolkit. I found the error and it was reported to NI. Here is the link: http://digital.ni.com/public.nsf/allkb/1A12BE048F6D7B15862577A00064C4D0...
View ArticleWhere to find the table I made in SQL Server 2012 if I want to connect to...
I have made a table on SQL server express 2012. I want to connect to that table using Labview. I am using DB tools open connection.vi to connect to the table. I am thinking I need to provide the path...
View ArticleSimple case structure with local variables VS PC architecture VS Event...
Here is the result of time analysis between a simple program to run a stepper motor based on 3 different methods. I see there is no great time optimization between the first two and also there first...
View ArticleUse events to change from auto to manual mode
Hi, My program can work in two modes. Auto and ManualIn Auto mode it suppose to automatically follow a sequence and so I used a basic State Machine . But when the operator click on the manual mode the...
View ArticleAnalog Triggering giving a 200284 time out
I am using Labview 2009 with DAQmx driver 9.0.0f2 with a PCI-6110 board. I have 3 analog signals coming into the board on channels 0, 2 and 3. I am using a very simple VI (attached) to observe the...
View ArticleHow do I change the speed of my timed while loop
So I've been trying to set the source name for my timed loop to the 1 MHz source instead of the default 1kHz, but when I set a constant string "1 MHz" the program does not run. I was wondering if maybe...
View ArticleBlock diagram out of... block diagram
Hi, I need your help. Im the wrong person to this job, but I have to do this, so I'm dependent on your help. I need to explain how the LabView program (pasted below) works, but I don't understand it by...
View ArticleWrite to measurement file
Hi guys, i'm saving analogue data to write to measurement file in LVM format. When i open the file with word pad or with note, there is a gap in the beginning of every raw and then follows the...
View ArticleCan CR1000 be accessed using NI-DAQ?
Hello, I am trying to control a CR1000 data logger using Labview. Is there a way to configure the CR1000 to be accessed in NI-DAQ? Thanks!
View ArticleNeed help with writing data to the table in SQL server express 2012 database...
I am new to using Databases with Labview. I am trying to write some data to the table I made in database of SQL server express 2012 using Labview. I am using the "DB tools Insert Data.vi" to insert...
View ArticleQuestion about shift registers in for loop
Hello, I have a question about shiftregisters in For loop. I have an input cluster coming in to a FOR LOOPI use "Unbundle by name" to read some of the elements in the cluster and process it (for some...
View Articleloading independent sub vis in sub panels and calling from main vi
Hi all, I have trying to work on the following requirement. I have a main vi with a file browzer and sub panel - Channel . I will select a channel configuration text file which contains Analog and...
View ArticleQuestion about reading measurement data on an HP4155
Hello, I'm having problems finding the appropriate syntax for querrying my device(an HP 4155) for measurement data that I had measured earlier in my code. I know I need to send a VISA write command to...
View Article