Hello
I am having trouble discovering the cDAQ 9181 under Labiew circled blue pic below in order to deploy my application named Flometer2. I can see the network device under MAX circled red pic below.
Thanks
Hello
I am having trouble discovering the cDAQ 9181 under Labiew circled blue pic below in order to deploy my application named Flometer2. I can see the network device under MAX circled red pic below.
Thanks
Hey All! I'm building a temperature monitor for a system with a chamber class that has values of temperature, time, and on/off status. I have a few questions in regards to the best way to proceed.
While the number of chambers will be predefined at runtime (n=15), the size of the display (and aspect ratio) that the user sees the data on can vary from an overhead projector to a small laptop. Is there a good way to create a grid that can dynamically adjust to make sure all n classes are displayed?
I am quite new to LabView and I have the following problem. I am using User Buttons Cluster which contains 3 Buttons: Accept, Jump, Repeat in "switch until released" action. Inside a case structure(True/False) I treat event Value Change for each button(treatment is different for True and False Cases). I have put the control User Buttons just outside of the case structure. Now when I click on the button the value changes from 0 to 1, the event executes but then the button is not reset to 0 value when released and it is not responding anymore on the next cycle of the state machine while loop. Here is the picture of the code under question as well as the code itself. What can I do to fix it?
I thought about changing buttons to latch when pressed and putting something inside the event cases to force LV to read the button value but I could not find anything that would allow me to force LV to read the value of the button(i can't use the button itself as it is a cluster+i need it in both True/False Cases). Maybe somebody has an ides how to do it?...
Hi All,
I have an odd DAQmx problem that only happens in the runtime environment and only happens on the first time I run the executable. After the executable finishes, I can click the run arrow again and everything works as expected. Judging by the error explanation, it looks like I'm trying to get N Samples but the hardware is configured for single point. Has anyone seen this before? The full error text is:
Error -200996 occurred at DAQmx Write (Analog 1D Wfm NChan NSamp).vi:2
Possible reason(s):
Data Transfer Mechanism is not set to Programmed I/O, which is the only value supported when the Sample Mode is Hardware Timed Single Point.
Set your Data Transfer Mechanism to Programmed I/O or change the Sample Mode.
Property: AO.DataXferMech
Corresponding Value: DMA
Property: SampQuant.SampMode
Corresponding Value: Hardware Timed Single Point
Task Name: _unnamedTask<0>
We are working on a project that use shared variable to update the changes made the web client. During the implementation, I notice that the event structure can not detect the value change of shared variable. In order to resolve this issue, we use a for loop to pull the value from the shared variable consistently and compare with previous value to detect change.
I'd like to know, if there is other way to register the value change event of an shared variable.
Problem 1;
I have [serial device A] connected to my computer that sends data from n [sensor device B]s. What is the best way to structure my code so that my vi's can process data from device B0 to Bn in parallel?
I'm guessing that I can clone a single vi (n+1) times and have them listen (via a named queue?), but I'm not sure the best way to implement that
______
Problem 2;
After I get multiple processors running in parallel, what is the best way to recombine them into a single display? Would it be possible/advisable to have a vi that is just an array of sub-panels that asynchronously reads the state of each clone?
I am monitoring Pyrometers, where i'd like to display the readings at all times for the users, however when a triggered event, such as the temperature reaching a predetermined set point, i'd like to save that data until the temperature returns below that same set point.
Attached the VI, saving the data seems to slow it down and ultimately cause it to error out. I'm not sure what the best approach is so i was hoping for some ideas or to learn from someone who knows better.
Please tell me I missed something. I can't seem to find a "DAQmx Is Device Reserved.vi?" And for the intended use case, I don't even care who has it reserved if it wasn't this target.
I could try this
But that of course, has the fatal flaw of Releasing the chassis if I already HAD a reservation from this target and possibly leading to a race for resources. Worse I'm on simulated devices trying to do a POC so I can buy the right Hardware and both the LabVIEW help and DAQmx help a rather silent on the exact error output (if any) comes from trying to reserve a reserved device with A Previously reserved by this target! Is that an error warning or who-cares. B) Reserved elsewhere and "Override? ... False. Error? Warning? nothing?
(Some days the help doesn't)
Hey all, I've got two Questions:
I passed my CLAD EXAM five days ago and i want to know how long it takes to get the certification ?
Thanks.
I last wrote LabView code around 2004. I remember the fundamentals, but I need to know what's changed. A live in-person training class is my favorite way to learn. Recommendation?
Hi,
I am looking to buy a copy of LabVIEW for myself. I can apparently get a perpetual license or a subscription license.
Does anyone have a link that explains what these licenses allows? I specifically want to know how the subscription license affects binaries. (Can you continue to distribute after the license is up?)
Thanks!
Hi, I am using the Olimex EKG shield with Arduino to read EKG data. Are there any documents or guides on how to write that data to a format that is readable in the biomedical toolkit?
Hi,
I'm trying to read a csv file with 2 columns into 2 separate arrays for interpolation. But I am unable to convert the read data into arrays.
Attached is the VI for reading and displaying data.
Thanks
Aiming to reduce the frequency with which I litter my code with comments like "#ErrorCode: Place an error here!", always intending to later update the Error Code file, then choose from an error ring rather than just a custom error with a number from the top of my head (in the user range), I'm looking at ways to build a library for simple error handling.
I've got something that works semi-reasonably, but since the errors aren't stored in a custom error file, the error indicators refuse to give me a description. Is there something I can do about this other than a) create a custom error file, or b) store the message in the 'source' string?
Below is an image of one of the VIs I've written. It passes errors to an Actor for logging and pushes an error onto the Error Out indicator - it is called indirectly by VIs in other places which ideally should just need a boolean (error or warning?) and an error code (I32 coercion from enum is the current plan). I also tried using the General Error Handler (with a bundle-by-name after to force the status flag) but this also doesn't add a description. The message is found in either case, but I can't get it to an indicator, only to my logger via the message I've set up. Should I be happy with this? I suppose often error indicators are not visible, either being hidden or in subVIs with closed FPs...
Edit: There should be a 'Equal to Zero?' check on the Code before execution, otherwise I get the source with a 0 code and warning...
Hello everyone,
I would like to know if it's possible to launch an arduino program which is already stock in its memory with Labview, and obtain the feedbacks.
I have already seen some example with Raspberry Pi instead of Labview using I2C protocol. Is there anything like that in Labview?
(I don't talk about programing with Labview an Arduino controler, I want to lanch an existing arduino program by Labview.)
Best regards
Hello Everybody,
I am trying to find out when database is corrupted. I know that database is corrupted but I would like to report this problem from Max to Labview. I know how to solve the problem when database is corrupted but I focus on detect the problem from labview when Max's database is corrupted.
Any ideas will be great helpfull,
Regards.
Hi,
For Users who are using Pico Technology PicoScope oscilloscope or PicoLog data logger devices with NI LabVIEW, our examples can now be found on GitHub:
https://github.com/picotech/picosdk-ni-labview-examples
These examples show how to call driver functions to collect data in various modes and control the signal generator on an oscilloscope (where available).
Examples for the PicoScope 9000 Series Sampling Oscilloscopes will also be available on GitHub in due course.
Regards,
In my project, I have to use arrays to input my data.
However, when connecting the array to case structure, it can only perform the true/false condition but not string and constant conditions.
How can i solve it?