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

MIDI out with Labview and windows 7

$
0
0

Hi there,

 

I'm currently doing a simple project in Labview.

 

Reading the voltage from DAQ, if voltage in channel 1 > 0.5V, laptop plays "do",

                                                         if voltage in channel 2 >0.5V, laptop plays "re"

                                                         if voltage in channel 3 >0.5V, laptop plays "Mi" 

 

I know how to deal with DAQ, but I have no experience in MIDI, I don't know how to make laptop play musical note.

 

Could anyone give me some references or examples in this field? Thank you so much!


How Can I Unhide This Tab

$
0
0

I have a "control current," and a "control field," tab. I can't figure out what property is hiding the "control field," tab regardless of my actions.

 

I'm sure this is an ID10T error, but if someone could show me what's doing this and how to reverse it, it would be greatly appreciated.

enhd.PNG

Labview

$
0
0

Hi,

 

I'm trying to use Laview to automate my Ixia Traffic generator. I'm using TCL commands from Ixia IxOS to automate my IxExplorer.

 

Here's my situation:

 

1. I manually configure the IxExplorer packet streams (like setting frame size, packets/sec and number of packets). I never automate this before. The only thing I did Labview auto for Ixia Traffic generator is connecting to the chassis, send packets, retrieve packets sent and received. Commands like these

   . ixConnectToChassis 2.10.1.1------>chassis IP address

   .ixStartPortTransmit 1 4 4------->chassis ID, card ID, port ID

   .And couples of statistic commands to get packets sent and packets received.

 

2. Now, I'd like to use Labview to automate Ixia Traffic generator packet stream. Commands like these below:

   .stream configure -gapUnit gapSeconds------------->packets/sec

   .stream configure -rateMode useGap--------------->use packet/sec

   .stream set 1 4 4 1-------------->chassis ID, card ID, port ID, stream ID

   .stream write 1 4 4 1------------>chassis ID, card ID, port ID, stream ID

 

Look like the commands executed OK, but I don't see the stream settings take effect on the IxExplorer GUI of Ixia Traffic generator.

 

 

Anybody is expert on Ixia traffic generator automation using Labview, please help?

 

Really appreciated.

 

 

Phong

  

failed to connect target

$
0
0
The RT target I have(PXIe-8840) is showing connected on MAX and is loaded with Phar Lap OS 13.1. Currently LabVIEW Real-Time module, Network Variable Engine and Network Streams are installed on RT target. 
 
I am trying to load the sample tutorial file onto the RT target. I got the sample tutorial file from Find Examples->Tool Kits and modules->Real Time-> Tutorial
 
Labview is not able to communicate with the RT target when I try deploying or 'run as startup' the RT target VI. Capture.PNG
I essentially followed the steps on this manual: http://www.ni.com/pdf/manuals/371375c.pdf and am getting stuck on page 10 step 2. 
 
Please kindly suggest what the error could be. 
 
Thanks,
Ankur

Render / Paint / Draw panel subset

$
0
0

Are there any functions to perform a background redraw (avoid explcitly displaying the redraw to the user) of only a subset of a panel and capture the image data? I'm thinking on the lines of increasing performance, hence just a subset redraw.

 

FP.Get Image performs a redraw in the background of the entire visble area and avoids updating the front panel which is part way there.

GObject.Get Image returns only the control image regardless of what's behind or in front of it.

 

Also, are there any events available to me that are fired when the front panel is requested to redraw or redraw initiated?

Or a way to override the redraw method?

 

This is all in relation to custom controls that support transparency.

I was impressed with the smoothness of the open GDS viewer that uses a single picture control to paint custom controls and respond to mouse over events etc. and would like to do something similar, but in combination with the built-in LabVIEW controls as well (render over the top of them etc.).

 

Thanks

XNET - Enabling RPC Server - Getting Error

$
0
0

Hi,

 

I am trying to load XNet database on my RT Target and I keep on getting the error using Xnet API. Running the managing XNet remote database eample vi does not help either as it is always stuck with error and no timeout.

 

I can connect to my RT target so it is not a problem of firewall and I can even talk using the NI default Xnet databases, it is just that when I try to load my database on Remote it gives me these errors

 

I tried to go to MAX >> Tools>>NI CAN >>RT Configuration and I got this error as show in Capture.PNG.

 

I am using cRIO 9067 and for Xnet I am using NI9860 on my 8th slot.

 

Has anyone encountered this issue, enabling RPC server, how can I do it? and Is there a way to directly place database file on the RT target.

 

Thanks

 

 

Compiler error, ufppushop err, c=0x21

$
0
0

I'm really new to LabVIEW so I'm hoping that this is a simple fix that I’m overlooking.  I’m trying to create a feedback loop that turns heaters on and off.  I am using an Omega IR thermometer to read the surface temp.  When the surface temp goes above the temperature goal I want the heaters to turn off and when it goes back below the temperature goal I want the heater to turn back on.  I’m pretty sure my hardware set up is correct I just can’t figure out why I keep getting this error message.  Any bit of help is appreciated.

 

Error message:  Compiler error.  Report this problem to National Instruments Tech Support.  ufppushop err, c=0x21

envelope

$
0
0

Hello i am using labview for my final project and i want to ask how to make an envelope in real time waveform (ultrasonic) can i use helbert ?


Error 1003 when using NI_AALBase.lvlib:Butterworth Filter

$
0
0

Hi,

I develop something in order to decode SSI encoder with digital input. I also calculate the speed from the measured position. I filter the speed with a digital Butterworth filter. This works perfectly in debug (deploying everything from my project). When i build an llb with all this code an deploy the llb, i get the error 1003.

 

I tryed almost everything :

- the vi is not broken

- i tried to recompile the code

- I tried a mass compile

- All names are unique (add a prefix in the build)

- Disconnect type definitions and Remove unused polymorphic VI instances options

- I checked the lvanlys.dll which is compatible with RT (dll checker)

- I tried to put the dll in differents places (c:\ni-rt\system, c:\ni-rt\startup\data, near the llb...)

 

If anyone has an idea, i will be glad to try !

 

When i disable the butterworth filter i works, and as soon as i enbable the filter i get this damn error !!! And no help from labview indicating what's the problem !!!

Display calculated values for x and y

$
0
0

Hi all,

 

I have set up a VI to test a rig for flexibility and resillience which needs to display a continuously updating display of the twist moment vs. the angle between two string pots attached to the setup. I'm testing it currently with a virtual NI device simulating inputs from 2 string pots, but nothing is displaying on my XY graph. To be more clear: I need to be able to display the y-values of one DAQ input on the y axis and the y-values of the other DAQ input on the x-axis after they have gone through some basic calculations. I have attached my VI to take a look at. 

 

Thanks for any help you might be able to offer, I'm a bit stuck. 

 

Also, here's a screenshot of the MAX task I've set up. I put two dummy virtual string pots at the beginning of the task, since it wouldn't let me simulate loads and string pots at the same time and I know my load chart is working fine. 

 

maxtask.PNG

Hide/remove digits from know/dial..

$
0
0

Could't find a way to hide those numbers which I don't like in the front panel, I tried several options in the properties menu and visible items but there's not a "show/don't show digits" tick, it seems that you can't color them transparent either so I don't know what else to do, forum search didn't help at all.

 

 

can I get Labview 7, TestStand 3.0 and possibly LabWindows for a windows 2000 system?

$
0
0

This spans a few categories, but I need to recreate an ancient test system described in a 2004 document.  It runs under Windows 2000 Professional, includes LabView 7, TestStand 3.0 and some non-NI apps.  Additionally I have C source code that contains .uir files, which I understand points to LabWindows IDE. 

 

So, my question is, can I get these creaky, dusty products, if so how, and if not what can I use instead?  Thanks.

BLE Bluetooth .NET API

$
0
0

 

 

Hello everubody.

I'm trying to comunicate with some BLE devices using CYPRESS USB Dongle. the application .exe from Cypress is able to connect with my devices and Write/Read information.

 

there is a .pdf document where explain the C# .NET API used and how we can use the DLLs into our Visual Studio (C#), but I'm using LabView2015.

 

I can Explore the API using .NET Connectivity, but I'm not able to make a real VI than works, actually I can't to put more than three blocks (Constructor, Invoke and pproperty node)

 

the files are annexed.

the PDF file explain into pages 9-13.

 

 

maybe some body can help with this, this is my firts time than I'm trying using API DLLs

parsing through large abounts of data

$
0
0

Hello, this is my first time turning to the discussion forums for help but I cannot find anything else helpful.

 

I am sending commands to the cmd prompt on my computer and and recieving large amounts of data in return, and all I want is to be able to check for a single mac address. In my vi, I have a couple of examples of what some of the data may look like and this works but only if you know what the address you are looking for is. I wanted to try and make this more universal, so that I would be able to look for a specific spot in the returned data and then look for my mac address there. It is looking for the address from the returned data, and then looking for he same address in a seperate cmd prompt and then comparing the two to make sure that the same address is on both sides.

 

Basically I am wondering if I can look for a small snipet of data cmd prompt and then from there, look for the piece of data that I want. Is this possible to do?

 

Thanks, any help is appreciated!data parse.png

Convert TDMS- to TXT-file with same name

$
0
0

Hey,

I am working on a VI to convert my data from TDMS to TXT. My original file is quite large so I first use a VI to split this file into a few hundert smaller TDMS files. I found a nice VI to do the task online which I adapted slightly (see TDMS to TXT Converter.vi), e.g. I added a timer function to give a specific starting time. The problem I am now facing is that the program doesn't process the TDMS files in order while the TXT file numbers are given successively - so I can't assign the TXT files to the TDMS files. I tried to extract the TDMS file names and use them to name the output TXT files but I don't know how to overcome the data type conflict (see TDMS to TXT Converter_Version.vi). Do you have any ideas on how to fix this problem?


array construction optimizatioin

$
0
0

I suspect my array/matrix construction begins to inhibit data collection. I am trying to collect spatial data from image. To collect spatial data from the front pannel(gui) I am trying to compile coordinate relavant data from a XY graph with an image background. The sub vi opperations are begining attempts to prepare cartesian coordinates for staged motion. 

How can i more efficiently collect X,Y/horizontal,verticle/coordinates/pixel location etc... infornmation from a given picture. In this vi I attempt to do so by building an array with the relavant data. The Zth deminsion can be moved.

Thank you very much

Send WAV file through bluetooth

$
0
0

Hi there,

 

I'm relatively new to LabView so please excuse the naive question. I am trying to send audio WAV files through the bluetooth 'write' vi to a bluetooth speaker. Obviously, the bluetooth 'write' vi can only send strings to the bluetooth device.  I have no trouble connecting to bluetooth devices but sending WAV data to the bluetooth device is the issue. If someone could clarify how I can go about doing this, it would really be appreciated!

 

I am planning to just buy a simple bluetooth speaker which outputs the WAV file i send to it via LabView.

 

Regards,

 

Arnav

agilent 34461 10 Amp range select

$
0
0

Trying to configure the 10A range on the agilent 34461. Has anyone been able to configure this remotely? Auto range does not work.

database tools labview 2015 don%27t work on 64-bit windows 10

$
0
0

Hello.  My LabVIEW 2015 64-bit applications (which include database tool calls)  won't load without errors on Windows 10 64-bit.  The NI compatibility guide shows that the database tools are not supported.  Does NI have a plan to address this at some point?

 

Thanks.

 

 

how to read data from two channels at the same time

$
0
0

Dear all,

 

I am  a newbie in the labview. I am using C-DAQ NI9237 for data acquisition from 2 wheatstone full bridge . So i want to use two channels one for each bridge to get data at the same time using 1 qty  C-DAQ NI9237  I was able to get the data when it was only 1 full bridge .i.e 1 channel. So i do have my block diagram for reading from 1 channel. But i want to modify this block diagram so i can read 2 channels at the same time. 

For that , i modified the present DAQ vi by  adding another channel . But i am wondering how to separate data coming from the DAQ into two i.e one from left full bridge and other from right full bridge. Because in the DAQ vi wiring what i can see is only data. So my question is  how to see  data from two channels separately at the same time?

 

Any suggestions will be highly appreciated . Will be highly appreciated  with kudos if anyone can spare their valuable time checking my VI that i have attached herewith .

 

Thank you.

 

Sachet

Viewing all 66748 articles
Browse latest View live


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