create multiple xml attributes
Hi all, I'm not terribly experienced with the LabVIEW XML functions...so far I'm finding them to be a major pain in the fanny, actually. I've gotten as far as being able to parse an existing xml file,...
View ArticleSynchronizing AI AO with different rates and samples
Hello, I am trying to synchronize AI and AO channels using PCI6110. AI and AO channeles have different rates and samples. 1. How can I synchronize them to start simultaneously? I used the start...
View ArticleData Bleeding Over From Previous Runs
Hello all. I have built a program with the purpose of measuring the Seebeck coefficient of materials through thermocouples. I have made two different data files that i store information in. One is...
View ArticleAppending Data to tables and graphs
I'm trying to figure out how to append data that's collected to the table and xy graph. To get the initial data the program goes through a while loop with shift registers (it's a massive program) once...
View Articlesplit 1D array into elements
In each iteration of a loop, I want to take root-mean-squre of the last 16520 elements of a 1D array (the last 10 seconds of sampled data). But I'm getting the following error: I also used "to double"...
View ArticleThreshold 1D Array Function.vi, and Interpolate 1D array.vi converted to C
I need to convert the Threshold 1D Array Function to C code. Has anyone ever done this? I've been searching around internet but I've had no luck, and I don't program. Thanks.
View ArticleWhat is the name of this function?
Good afternoon, I came across a post describing how to read a file line by line with a single function, but there were no attached VIs and I could not find this function anywhere in labview Source:...
View ArticleX Control Add two numbers
How do you have a Xcontrol with two numerical controls and add the numbers together and return them on the data output. I created the two numerical controls, put them in an event for when they change,...
View ArticleLabview .Net Interop assembly Error finding dll
Hello labview 2012 (32bit)Windows 7 (64bit) I have a labview built .NET assembly which returns an error when I try to call the .NET assembly from anything (including a labview test vi)The assembly it...
View Articlefpga
Hello all, I am using LabVIEW 2010 to run a Single Board - RIO 9602. My goal is to read a set of 12 data values from an IMU via SPI, then log that data accurately by byte onto an OpenLog using a...
View Articleoutput single element from array
I am successfully filling an array and now trying to iterate through each element and output it from my VI. The problem I am having is the for loop iterates through without sending the value to my...
View ArticleNI 9220 not supported by scan interface
Looks like the NI 9220 is not supported by cRIO scan mode: http://www.ni.com/white-paper/8136/en/ It's mostly a sign of inadequate communication between the hardware and software sides of my project,...
View ArticleEnsure a single NSV is delivered
I have a project with a compactRIO streaming data to a PC via network streams. I am using NSVs to share status information data between the devices (i.e.. a boolean which indicates if the HDD on the...
View Articleauto create local variables
Hi, I have a feeling that the idea I have is probably not possible but I figured it wouldn't hurt to ask. I am logging CAN data using a cRIO and NI 9853 using the frame to channel convertion vi's. I...
View ArticleAttempting to write data to file, but getting error 200279
I am having trouble when writing data to a file. About 10 seconds into the saving process, I get the error 200279. I have done some research on the topic, but am unable to corect my code. I believe I...
View ArticleCan the USB-6210 output a 10 kHz square wave?
I have been scouring the forums/internet to discover the maximum output data rate for a USB-6210, but to no avail. I know that the device can handle 250 kS/s, but this doesn't seem to be related to...
View ArticleNeed .net reference to labview VI window handle
I'm calling a .net DLL. One fo the functions requires a handle to an application window. I've attached my code (lv2011) and the dll.How do I get a .NET reference to the current LabVIEW window?
View ArticleIntermittent Save Report to File error
In my program, regularly I will get the error below from NI_report.lvclasss:Save Report to file.vi. I digged deeper, and I found that the error comes from a SaveAs method under _Workbook inside the...
View ArticleIncrement PtbyPt Reentrant
Under Other functions PtbyPt, there are increment Ptby Pt and decrement PtbyPt. Under Execution in VI properties, reentrancy is set to Preallocated clone reentrant execution. Does that mean I can...
View ArticleFlat sequence error output for a built application
Hello,I was wondering what the recommended method is for passing out errors through a flat sequence, particularly when the VI is built into an application. I've found that simply passing the errors...
View Article