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

HP/AGILENT 8561E Amplitude units configuration

$
0
0

Hello

 

I am using HP/AGILENT 8561E Spectrum Analayzer for Antenna measurements and need to use dBuV  amplitude units during this test .

I am using downloaded drivers from NI and all work fine. Last thing that I need is to config my Spectrum Analayzer for dBuV units but I don't find appropriate vi  drivers that do this, there is default dBm units only. Of course is possibility  to add relationship between dBuV and dBm and calculate this but I want to config my Spectrum analayzer. Could you please assist me?

 

Thanks in Advance


Is it possible to control soft robot by just inputting xy coordinates?

$
0
0

Hi, I'm almost new and I've been trying to search about a situation that I'm facing nowadays.

 

I want my soft robot to move for and backward, and right and left from its location right there by inputting x,y value through Labview interface.

 

The principle of the soft robot is using pneumatic channel controlled by solenoid valves and air pump, which makes volume difference to move soft robot .

 

It would be controlled by Arduino.

 

I've searched about it for a days, but I've not able to find it.

So, what I want is..

Run Labview => pop up how (x,y) do I want to input -> Robot move to that location.

 

May I know about it please..??

 

Thank you!  

 

 

-126308: Error '' occurred when installing NI Package Manager.

$
0
0

I am trying to install LabView on my computer but the error:-126308: Error '' occurred when installing NI Package Manager keeps popping up every time.

I have tried to troubleshoot it by allowing the NI Package Manager through firewall and also checked  my Windows updates. But I can't seem to find the issue.

Could somebody help me out

CSV File not found

$
0
0

Hello! 

 

I am trying to read a .csv file in Labview2010. I have browsed the path and file but I get an Error 7: file not found. Has someone got any idea why and how to solve it?

 

Thanks in advanced!

Arovanti CreamShark Tank Reviews & Where to buy

How to use USRP like a repeater, using LabVIEW?

$
0
0
Moved to another board Duplicate Post

Actualiser NI MAX avec Labview

Read Adafruit INA 219 in LabVIEW with Linx and I2C library.

$
0
0

I try to read voltage and current from an Adafruit INA 219 sensor with Arduino and I get the correct results. The problem is that I need the results for analyzing them and I need  (1) to read the sensor's values in LabVIEW or (2) to send the results from the Arduino to Labview.

1) For reading the results from Adafruit INA 219 in Labview I make a program using the I2C library and Linx but I don't receive the correct values. I don't think that the program is good and I don't understand the I2C communication type. The datasheet of INA 219 is here: http://www.ti.com/lit/ds/symlink/ina219.pdf?ts=1590937044729 and my program here: https://imgur.com/nSi2IPr.Linx_I2C_WRONG.png

2) I think that another method for getting the results in LabVIEW is to send the results from Arduino (which gives the correct results) to LabVIEW.

Can someone help me, please?

 

My Arduino code: 

#include <Wire.h>
#include <Adafruit_INA219.h>

Adafruit_INA219 ina219;


void setup(void) 
{
  Serial.begin(115200);
  while (!Serial) {
      // will pause Zero, Leonardo, etc until serial console opens
      delay(1);
  }

  uint32_t currentFrequency;

  Serial.println("Hello!");

  // Initialize the INA219.
  // By default the initialization will use the largest range (32V, 2A).  However
  // you can call a setCalibration function to change this range (see comments).
  ina219.begin();
  // To use a slightly lower 32V, 1A range (higher precision on amps):
  //ina219.setCalibration_32V_1A();
  // Or to use a lower 16V, 400mA range (higher precision on volts and amps):
  //ina219.setCalibration_16V_400mA();

  Serial.println("Measuring voltage and current with INA219 ...");
}

void loop(void) 
{
  float shuntvoltage = 0;
  float busvoltage = 0;
  float current_mA = 0;
  float loadvoltage = 0;

  shuntvoltage = ina219.getShuntVoltage_mV();
  busvoltage = ina219.getBusVoltage_V();
  current_mA = ina219.getCurrent_mA();
  loadvoltage = busvoltage + (shuntvoltage / 1000);

  Serial.print("Bus Voltage:   "); Serial.print(busvoltage); Serial.println(" V");
  //Serial.print("Shunt Voltage: "); Serial.print(shuntvoltage); Serial.println(" mV");
  Serial.print("Load Voltage:  "); Serial.print(loadvoltage); Serial.println(" V");
  Serial.print("Current:       "); Serial.print(current_mA); Serial.println(" mA");
  Serial.println("");

  delay(500);
}

 


VI with Express DAQ Assistant's needing help with NI Error 200279

$
0
0

Wrote the attached VI to use on a cDAQ 9174 chassis with two 9211 cards and two 9239 cards. After running for about 5 seconds I'm getting a 200279 buffer error focused in on the assistant that's running the 9239 cards.

 

Not sure how to work that bug out, I would like to stick with the Express VI's if at all possible.

 

Thank you.

Organizing File List

$
0
0

Hi all,

 

This is my problem. I am listing paths from a folder from the list path function. This filenames are uniform and start at F015-x_CHxx. However, when listing strings in alphabetical order labview messes it up obviously. 

 

What I want to do is re arrange them in the order that they are in the folder that is (F015-1-CH0 through 15). I am making a 2D array each row should be the FTE number (or the first x in the file name listed above) and I want to insert based on the channel number as the column index. However when I do this it wont work. It wants me to insert an array, which to me makes no sense at all when it clearly states new element OR sub array. what I would like to do is create a subarray of the stripped file names and then re build the paths in order. any advice helps. 

query regarding signal hound Programmable measuring equipment

$
0
0
i have some query regarding  following products by  signal hound.
 

Spectrum Analyzer   BB60C

 
Tracking Generator USB-SA124B
 
Vector Signal Generator VSG60A
 
DM3058 by RiGOL
 
do all above mentioned get interfcaed with Labview for programming and analysis.
which versions of labview do they support ..are device drivers required for them or they will work with  visa read and write functions??

how to count sqaure wave analog pulses in daq6341

$
0
0

Hi,

I want to know whether we can count square wave pulses in daq 6341. Please help me with any procedure. I dont have any external hardware components to count the pulses. I tried several counter circuits and when run them they automatically without any input control and when I connect the counter to the square wave simulated signal, I am unable to connect them. please provide me a solution for this....

Inconsistent Behavior Time Format String

$
0
0

Maybe someone can explain to me this behavior.

  1. I understand if you use the 24 hr format %H, then the time format specifier will ignore any format settings for %p the AM/PM flag.
  2. NI made this decision and it seems sound, as there is no reason for an AM/PM flag if you have 24 hour format. Even though I agree with their reasoning, I would have preferred to let the user make any foolish decision they want; that is, you should be able to format any way you want.

Now that my gripe is over, this behavior should be throughout not just after. For example the assume the time is 09, the format code %p%H will give AM09, whereas the format code %H%p will give 09.

 

If %H is going to cause %p to be ignored make it everywhere, not just after.

 

Snap4.png

 

mcduff

 

Rant over

Labview 2019 sp1

$
0
0

How do i download Labview 2019 sp1 if i accidentally installed Labview 2020

reading chunks data

$
0
0
Duplicate Post. Moved to original thread.

Suggestions for GUI for multiple interlinked lists?

$
0
0

I have a program right now with a data structure in it that works pretty well when it runs, but setting up the data structure to get it to run has turned into a huge pain. 

 

I've created an image that shows an equivalent to the data relationships for discussion here (I'm not posting the actual data types contained just to keep it simple but also confidential).  Here it is:

 

Node layout needed.png

The underlying data types are:

1) An array of class objects with a common parent, with a method that's basically a "Get names and types" method, producing the list of nodes in columns 1 and 2 and their links to each other.

2) An array of clusters, each cluster containing a group name from the 3rd column and an array of names that point back towards the 2nd column (if an object in the first array is either removed or has its "Get names and types" method changed to return something else, it creates the example "orphan" shown)

3) An array of clusters containing the values in the 4th column linking to the group name in the 3rd column.  (Note: It might seem like this should be merged with the 2nd array, but in reality it can't be as this array has algorithms that go along with it that can change its values in ways that can't link with the 2nd array. This list needs to be altered by portions of the program that aren't linked to the other two lists for encapsulation reasons.).  There can be "orphans" here if the group name that a value referred to has been removed from the 2nd list.  

 

#1 and #2 also have a few associated properties also linked to them that aren't important to this chart, but do need to be shown to the user.

 

The current solution I am using is not at all ideal from a end user point of view.  I basically have the 3 underlying data types each getting their own multicolumn listbox, where each row is whichever array is being referenced, with each row being the part that has the most entries.  Highlighting a row enables the user to fill out fields and press buttons to do any linking needed.  This is technically functional in that I can set up and link together all 3 arrays as I need to, but it's very unintuitive to new users.  Whenever someone new wants to use the program I basically have to give them a 1-2 hour introduction to it followed by checking their first half-dozen or so setups for mistakes.

 

Ideally I'd like to be able to present the information in a way that is very close to the diagram of the data structure I made above, but with interactivity.  For instance, if I click on Object_5 on the right side, I'd want to highlight it, display some additional properties in interactive fields off to the side, and highlight all of the nodes it connects to "downstream" of it.  Similarly, I'd want to be able to click something in the values column on the far right and be able to highlight all of the connections and nodes "upstream" of it, and display a different set of properties to edit.

 

I've been trying to think of a good way to display this with LabVIEW built-in controls and I haven't been able to come up with anything suitable.  The lists could be potentially quite long (30+ objects in column 1, between 0 and 25 name/type pairs for each one, though most will tend to be in the 3-8 range).

 

Tree controls wouldn't work because of the need to show the orphans and the crosslinking between columns 1+2 and 2+3 not being compatible with it.  

 

Because of the potential length of some columns, the notion of creating a front panel and just moving a bunch of pre-made controls around on it programmatically means that I would have to create and manage an absurd amount of them and could run out if I don't make enough in advance (since they can't be created during runtime).  Plus it would involve a lot of manual manipulation of decorations on the front panel to link them all together.

 

I also considered making a large image map and basically writing the GUI so it would create the diagram and respond to clicks in it, but this seems like it would probably create a buggy mess that would be a nightmare to maintain (I did create one of these for a program years ago that was a much simpler data structure).

 

Right now my best idea is to investigate using a .NET or ActiveX control embedded in the front panel, but that ties it to Windows in ways that I would prefer to avoid if there's a better way to keep this all in LabVIEW.  So... suggestions?

LabVIEW Executable Detects Windows Kiosk

$
0
0

I am creating a LabVIEW executable that will be the sole application running on a Windows 10 computer in kiosk mode.  I would like to check that the computer is actually running in kiosk mode.  Does anyone know if that's possible?

Display your webvi application in ni-server

$
0
0

good evening  everyone 

I had just finished prepared my  webvi application and i wanted to l uploaded as a dashboard  in  my  ni server  localhost . so if it is possible i would love to  have a tutorial  to know the step for doing it

 

thank you for your time 

 

 

Error 1498 trying to load class from file

$
0
0

Me again struggling with LVOOP, Chapter 624.  I'm trying to implement a HAL using Ye Olde Factory Pattern.  When I attempt the "Get LV Class Default Value" I get the 1498 error on the second call - the first succeeds.  Now, searching around I see a (really badly written) explanation at

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000004AoESAU&l=en-US

 

I see a bunch of similar forum posts with solutions, BUT - they all pertain to builds, libraries, etc.  I'm nowhere near trying to build an executable - just trying to compile 1 little vi!  My project that contains all the classes I'm using mass compiles just fine.  BTW I conditional disabled the 2nd call, and the last call also throws the 1498 error.  So LV likes my first class but hates the other 2 - why oh why?

 

Thanks for any light y'all might shed, stay healthy, paul

 

swept frequency and wait time for samples

$
0
0

hello everybody
I'm new in labview and I don't have enough experience. I have a problem with my code, I hope you can help me.

My program makes a sinusoidal wave out signal and has to do a swept from an initial frequency to a final frequency in a time seated. My problem is that only work if I set a wait time of 1000 ms but the resolution of my waive is too poor and I need it with a high resolution but if I increase the resolution my swept goes very fast. For example, if I want to start my frequency wave with 2 Hz and finish at 6 Hz in 5 seconds my actual program finish at 94Hz. Is there any way to make my counter of frequency depending on the time and not depending of my sample? or maybe a tool that can help to fix my problem?

Thank you very much

Viewing all 69758 articles
Browse latest View live


Latest Images

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