Quantcast
Channel: LabVIEW topics
Viewing all 66843 articles
Browse latest View live

compare data on excel

$
0
0

Hi, i would like to know if anyone here has experience compare 2 excel files and/or comparing 2 data points between 2 different excel files


NI-CAN 8512 Change to PCI and then Machine cycle time add 1 second

$
0
0

Hello,

 

Test machine 's card 8512 was change to PCI, the application still the same, but machine cycle time add 1 second.   Could you please give us some advice why this happen? Thank you very much!

 

 

 

Best regard,

Brian

 

 

          

VFD communication Modbus RTU by RS-485

$
0
0

Hey Guys,

I am relatively new to labview and am having trouble controlling a teco westinghouse VFD (A-510).

I have a labview code that generates the apparent RTU command that should be send out to the VFD but I am unsure if the serial write of the VIs are correct.

 

http://www.tecowestinghouse.ca/controls/drives/a510/

As a sanity check for an 1800RPM (60Hz) input, the command should match the attached image.

 

I am thinking that there is an error in how i set up my VISA serial communication. Should i be using the Modbus pallette instead ? 

 

Thanks in advance!

Communicating LabVIEW FPGA with Aurora protocol

$
0
0

Hello everyone,

I am trying to build CLIP in order to Communicate .vhd file generated by using the Aurora protocal with the PXI 6592R high speed serial FPGA module. I am able to communicate these two devices in STREAM interface mode on both sides. But, i am not able to communicate in FAME interface mode. Can any one please help me out in doing this...

How to delete one channel of multiple channels?

$
0
0

Hi Friends,

 

I am using a DAQmx to creat one task with two channels (LVDT signals). Two signals are displayed on waveform graph. Now I want to delete one of the signal when it reaches the condition I set. Could anyone give me an example about how to delete one signal from multiple signals?

 

If you could attach a picture, that would be great because I may not be able to open a VI due to my old Labview version(7.0). Thanks a lot.

 

-Zhicheng

Sending and getting parameters through http protocol between cRIO and force torque sensor via ethernet

$
0
0

Hello all,

During my eternal quest being an aprendice labview developer, I came across this problem: I'm currently working on interfacing a cIO 9025 and a force/torque sensor (NetBOX module) from ATI automation over ethernet port. Until now, I'm able to read the force and torque measurement data through an UDP communication port that I established. The sensor module provides a webpage with various information about the sensor, accessed via HTTP protocol. According to the sensor's manual, it is also possible to send parameters to it (raw data transfer rate, calibration file, etc) via HTTP protocol, using XML elements. However, when I try to access the page to read the elements or to send something, a (Protocol not recognized by LabVIEW) error is returned.

I read somewhere that it is not possible to work with the HTTP protocol using the real-time controller, is this true? Is there any way to receive and send data to a web page through ethernet using the real-time controller?

Thanks in advance.

Accessing same ADC channels via fpga node in two different while loops

$
0
0

Hello all;

Is it possible to access same ADC channel in two different independent loops, in higher priority timed loop I need to make some decisions and also need to execute the PID to maintain the output? while in other lower periority while loop i need to log data that is comming from adc channels through FPGA.
thank you. 

Accessing Same ADC channels in Different loops

$
0
0

Hello all;

I need to access ADC channels in two different independent loops, one is high priority timed loop to read data from ADC changes via FPGA node, do some decisions and set some parameters with PID, while on the other side the second while loop will read same ADC channels and log data to TDMS file.

Thank you.


How to start scrolling the strip chart display before the plot hits the right border?

$
0
0

Hello,

I want to display my data on waveform chart, however, I want to show the data updates right in the middle of the chart, not at the right border. So, I want the strip chart to start scrolling the display before the plot hits the right border. How do I customize it?

 

Best Regards,

Kartik

LabView C# DLL Wrapper

$
0
0

Hello,

Using LabVIEW 2017 (64-bit).  Wanting to use the DLL import wizard to wrap the attached DLL and header file for use in communicating with a BK Precision P/S.  The code fails on some of the function calls, particularly SI_Read, and SI_Write.  Problem seems to be the structure LPOVERLAPPED which LabVIEW reports is not defined in the .h file.

 

Would the 'proper' method be to modify the .h file with a typedef, or write the DLL calls manually and use null = o as a constant for the argument?

Thanks all,

Chris

Impulsive noise generation

$
0
0

Hello
I want to generate an impulsive noise (periodic and aperiodic) to add it to a signal,
I am looking for how I can generate noise?

Thank you; 

Convert from 17.0 to 8.2.1

Tips for keeping a large VI clean

$
0
0

I have recently finished the largest VI I have created so far, however over the process of working with on it the wires have become quite a mess. I tried to keep the VI within the screen, but do to the amount of calculations, and icons to change there really isn't a way I can see that to be possible. I already have subVIs created for all of the calculations, it is more just the number of wires that are used to connect everything. Since it is at its current finished state I plan on creating a brand new VI and focus on keeping it organized as I copy it over, but was just hoping to get some pointers before I start to ensure it stays readable. 

DataSocket Select URL.vi

$
0
0

I have an application where I would like to give the user the option to select multiple OPC tags. I am using the DataSocket Select URL.vi

This VI will by default only allow the user to select one URL, but I would like to be able to select a URL with subgroups and multiple tags.                                                                             

 

Anyone knows a workaround using this VI or another way to select multiple OPC tags?

 

 

When is the SEED file required when using the ECU toolkit?

$
0
0

When programming with the ECU toolkit, what is the Seed file used for, and when is it necessary?

Can I omit the Seed file if all I need to do is read from the ECU?


Case Structure Not Updating fom Enum - LV2015 SP1

$
0
0

Anyone know of some secret properties thing or something that I'm supposed to do to get this case structure to update off of this enum?  I know it's a little on the odd side since it comes from a cluster, but I thought that was still supposed to work.  I scoured the known issues and didn't see anything (not immediately anyways) that pertained to this.  So.... any help here would be hot.

Enum and Case.JPG

Integrate Power Meter vi with another vi

$
0
0

Hi,

 

I was given a vi that is used in my lab to read data from an oscilloscope and output the data as a graph. My job is to replace the oscilloscope subvi with a vi that reads data from a power meter. I have virtually no experience in Labview, so any help or guidance on how to achieve this would be appreciated. I did try the replace function to replace the oscilloscope subvi with the power meter, but the input  for each is different so this did not work. 

 

The two programs will be attatched. The main program with the oscilloscope is called "main", while the power meter subvi is called "power meter". This power meter vi is what needs to replace the oscilloscope subvi. If needed, the power meter is a Newport 841 PE USB

 

Thanks for the help

Latest version of the 'Using External Code in LabVIEW' Manual?

$
0
0

I would like some additional documentation beyond what I can clean from the extcode.h file regarding the functions (DSNewPtr etc...) given here:

http://zone.ni.com/reference/en-XX/help/371361P-01/lvexcodeconcepts/labview_manager_routines/

and here:

http://zone.ni.com/reference/en-XX/help/371361N-01/lvexcode/memory_manager_functions/

 

The latest version of this document that I can find after a fairly extensive google and ni.com search is this version from 2003(!)

http://www.ni.com/pdf/manuals/370109b.pdf

 

From reading the extcode.h file I know at a minimum the the functions beginning in AZ... are deprecated, so I figure there should be a newer version floating around out there.  But I can't find it for the life of me.  Unless perhaps all the info formerly in that document is now only reachable following various links from the URL's above?

Relay driver for USB 6210

$
0
0

I need to run 24V DC 8W solenoid from 5V digital out ports. Digital Out can source 18 mA max. I need a driver in between. Does NI sell such a board? I am not skilled enough to fab a MOSFET circuit. Thank you.

Express VI in packed library

$
0
0

Is it possible to distribute/use an express VI in a packed library?

 

I have developed a central error handler for use in a large application, based on the CEH developed by NI, which I modified to use user events and work across packed libraries (in principle). The re-entrant express VI for configuring errors is really useful! However, I can't get it to work outside the LabVIEW directory. I've tried moving the code to my source code directory, building menus, packaging the menus in a packed library, linking the new menu to the palettes in LV, but none of this works. Looks like I'm backing up and using another error handling approach.

Viewing all 66843 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>