Hi. I have an "old" cDAQ9188XT chassis and I'm trying to set permission without results.
Is there any incompatibility between old hardware and new software?
Thank you
Hi. I have an "old" cDAQ9188XT chassis and I'm trying to set permission without results.
Is there any incompatibility between old hardware and new software?
Thank you
I am using the ASAM e.V. DataPlugin in LabVIEW to create MDF4 files. However, I don't see an option to frequently flush the buffer to the file in the data storage module. Does anyone know if this option is available in LabVIEW for MDF4 files? Additionally, the ASAM e.V. DataPlugin does not support reopening a file and appending data to it once it has been closed. Does anyone have a workaround to frequently save the data in the buffer to an MDF4 file, rather than creating small-sized files frequently?
Hi there,
I am doing some script to process some Greyscale image to find out the "Void" and calculate the percentage of "Void" compared with the whole area.
Attached is the partial of the image. From the image, you can see underneath it has a lot of bubbles, we called them "void".
I was initially using IMAQ threshold by selecting a range of Pixels which it is defined as "Void" and use IMAQ histogram to calculate the void percentage.
But the way I use, choosing a "Range of Pixels", are not really working well.
Because some of the Void Pixels are so close or similar to non-Void area.
It is either overlapped too much of non-Void area or covered too less of Void area.
I am literally new to VDM. I wonder is there any good feature can help with my image processing?
Thanks and looking forward on the response.
Regards,
VZ
image read error block
I am using linx with an arduino uno to send pwm signals but I was wondering if there is any way to use a higher resolution pwm signal. It looks like there is not a option to change it in the duty cycle vi but does anyone know if there is a way to permanently change the default?
I have been experimenting with Labview to create a VI that can record and log voltages for several analog in channels. I am using a DAQ 9171 with a NI 9223 module to record with my VI at a sample rate of 500 samples a second. My problem is I acquire the data at inconsistent intervals and not the intervals of my sample rate. If anyone has some knowledge or an example, they can dole upon me it would be much appreciated.
Hi,
I would appreciate help on this topic
.
I was trying to compile my project code for the SBRIO 9629 (similar code was previously used with CRIO 9056 with NI 9401 modules, or SBRIO 9638).
It was then I realized the 96 digital i/o are not SCTL compatible (error thrown during compile).
The SBRIO 9629 96 RMC digital i/o have a typical sampling rate of 10MHz (compared to the NI 9401 modules 9MHz with 8 lines active)
The NI 9401 and SBRIO 9629 28 digital i/o are SCTL compatible, however based on this compilation error, it seems the SBRIO 9629 RMC digital i/o are not.
I've had no issue with SENT signal decoding or PWM signal generation (which require 5MHz sampling) on either SBRIO 9638 or CRIO 9056 with NI 9401.
In those cases, I use SCTL's for the pulse counting (for SENT signal decoding) or pulse generation (PWM) for motor controls.
So these loops runs at a rate of FPGA clock of 40MHz (with the digital signals updating at 9MHz NI 9401, >10MHz? on the 9638).
Question then is:
How do I ensure my FPGA pulse counting and pulse generation loops run as fast as possible? I.e. at least 5MHz?
I'm thinking to keep the code the same as SCTL code, but use a while loop and run it with a delay of 100ns (10MHz)
I understand this would increase FPGA resources compared to just using a SCTL, but seems I don't have much of a choice as the i/o are sufficiently fast but not SCTL compatible.
At least the 9638 has much larger FPGA (200T vs 75T of the CRIO 9056).
Background on the project:
Valve position control and data acquisition
The fast signals requiring the use of the FPGA are:
SENT digital signals for position feedback
- SENT signal tick (time) base is 3usec, meaning needs at least 0.3usec sampling for robust decoding (~3MHz)
Up to 20KHz PWM signal is generated :
- Need at least 5MHz sampling so that have sufficient resolution for control purposes ( 5 MHz / 20 KHz PWM = 250 increments)
Thank you!
Matt Lawson
I am working on LabVIEW FPGA Project where i need to simulate BLDC Motor. There are three hall signals which comes from controller to BLDC motor and there are three feedback signals goes from BLDC motor to the controller.
I need to develop a labview fpga project to read three hall signals which comes from controller and decode the motor position (i am thinking the relative phase shift between three pwm signals should give me the direction and position of the motor) and from that i need to simulate three phase pwm signals which goes back to the controller. Three hall signals which are read from controller is coming from one fpga card and three pwm signals which goes to the controller as feedback needs to be written on different fpga card.
I am thinking of developing a veristand custom device (Inline Hardware Interface Architecture) to read motor position from one fpga card and write to another fpga card. what i am not quite sure is timing and synchronization between two fpga cards. i am using 7862 and 7822 fpga cards for this. Can someone please guide me.
Hallo,
Folgendes Problem:
Ich habe LabVIEW Community 2025 heruntergeladen und versucht zu installieren.
An einer Stelle friert die Installation immer wieder ein (siehe Anhang).
Ich komme einfach nicht weiter.
OS: WIN 10 prof.
Does anyone know the flag definitions for:
?
I have a PXI chassis running Windows 10. Connected to this is a TDK Lambda Z Series PSU. Connected via Ethernet cable to the PXI Controller.
I have configured the PSU with the IP address 169.254.254.201. The NI Controller's IP address is 169.254.254.1. If I enter 169.254.254.201 into Internet Explorer I can get the PSU's webpage okay.
I have opened NI MAX, I have successfully added the PSU to MAX (See attachment001.jpg).
I can then select "Open VISA Test Panel". Select "Input/Output". Change the command to "*IDN?\n" and then click on the [Query] button and the window populates with "TDK-LAMBDA,236-24-LAN,311B271-0014,3.002-LAN_2.017". (See attachment002.jpg). So all good.
I have created a simple VI (LV2020) to basically do the above (See TDKPSU.vi). It runs with no errors. However the strings are empty and the number of bytes read is zero!
We have another setup with TDK-LAMBDA PSUs in it (though a different model). The VI above works as expected with those PSUs. If I connect the "problem" TDK Lambda Z Series PSU to this other setup. It shows the same symptoms as above.
On the original setup I have adjusted everything I can think off. Turned off Windows Firewall. Set Ethernet port to Private network.
It's just odd that MAX can send VISA commands to it successfully, but LabVIEW can't!
Any one have any ideas?
(Note: We will, ultimately, be driving this with the TDK-Lambda GEN LAN Series library. My VI was to test a theory when the library failed to initialize the PSU).
When using the radio button control connected to a case structure, the radio button will not select the correct case or any case. It will work correctly with highlight execution on. This was tried with LabView 2024 also and the results were the same. Note we tried it on two different computers, with two different LabVIEW Pro Licenses, same results. Any ideas how to fix this? Is it a bug?
Title: Swapping valves when requested
This program is supposed to turn the valves to position 2 ("GO2" in the case structure) then trigger the pump to push all the liquid in, then after all the liquid is finished being pumped, the valves need to switch to position 3, then the closing subvi gets triggered and it waits for user input before closing the whole thing.
I am having a lot of trouble getting the valve to turn to position 3 at the end before triggering the closing vi. I suspect its something in the order the loops are going, but I cannot figure out what it is. The program previously turned the valves to 2 and started the pump simultaneously, but that lead to liquid getting to the wrong destination, so I changed it to only start pumping after the program confirms the valves actually reach the requested spot. And even then the ending switch wouldn't occur consistently, but at least it WOULD happen. But now the switch to position 3 simply refuses to occur and I have no idea why. I've tried using channels, variables, switching the trigger command for position 3 between all the major loops and nothing seems to work.
The push water program is what I currently have. Push saline is one of the older iterations with the trigger command occurring both during the primary loop before it's supposed to close AND during the final loop when the closing subvi gets requested.
Why isn't the smaller yellow point in the dead center of the red one, as is anticipated for two points with the same coordinates? Here are two examples where the only thing different is the Plot appearance. 2024 Q3.
Code:
Front Panel example 1:
Front Panel example 2:
My guess is that this is a "feature" of plots and I should use a picture instead.
Has anyone else started to have problems with the Exaprom PDF Report Generation Toolkit when the year changed from 2024 to 2025?
We had LabVIEW code that was working fine in November of 2024, but suddenly stopped working in January of 2025. Specifically, sometimes when the Exaprom program "Close PDF.vi" runs, it returns an 1172 error ( 0x494 System.InvalidOperationException) when it attempts to close the PDF document. Unfortunately, I am not allowed to share any of the code, but here is a snip from "Close PDF.vi":
I am researching the issue via MSDN, but the learning curve is steep. If anyone else has encountered and/or corrected this issue, please let me know.
Thanks!
I'm seeing discrepant initialization behavior between shift register tunnels and feedback nodes.
All SR/FL in single-iteration while loop, within 3-iteration for loop.
Is this intentional behavior? Using 2022 Q3
Hi,
I am having problems with streaming data with the attached VI. It concerns the inner FOR loop in frame 7 of the flat sequence. The times between readings were more than the specified 100ms timer so I upped the buad rate from 9600 to 19200 this improved the timing down to about 125ms. But after a few runs the time increased again to about 800ms. I updated to 38400 and the performance was perfect but then after starting the VI a couple of times it went back to roughly 800ms again. I suspect this is something to do with Visa because I have found generally that if you stop a VI when it is running you get unusual com port addresses in the comport list which when cleared gets rid of communications problems. But clearing those in this case doesnt help.
I have the same issue on another similar set up and changing the modbus client pc, also with a new installation of Labview community, doesnt help either.
I hope you can help.
Hi All, I'm trying to setup a basic simulation with LV. I have a DAC followed by an ADC.
I can see that there's a sampling rate for the DAC but not for the ADC. Both are DWDT. Is there a ADC object that I can also choose with the sampling rate?
Thanks
Hi, I am picking up on an old LabVIEW system which is used to control Newport's ESP 302 Motion Controller. I am using LabVIEW 2024 Q1(64 bit) and trying to run it. LabVIEW seems to recognize the device but when I run the program, I get this error- Invoke Node Error calling method CommandInterfaceESP302.ESP302.MD_Get, (System.ArgumentNullException: Key cannot be null.
Parameter name: key) <append><b>System.ArgumentNullException</b> in esp302.lvlib:esp302-is-motion-done.vi
This is a common error in all the VIs. I think it has something to do with the .NET esp302 reference in/out controls. I am attaching the zipped folder with the VIs and .lvlib file as well. Unfortunately, there is no .lvproj file.
Can someone help me fix this? Thanks
I am trying to use the OPC UA but keep getting the error that the certificate files can't be found. I am using the NI example attached to this thread and the certificate files are in the same folder as the VI. What am I missing?