Quantcast
Viewing all 69225 articles
Browse latest View live

Insert mixed data (string/numeric) into cluster without property node

Hi all,

 

I'm currently stucked trying to insert some different types of data (both numeric and strings) into a single cluster. This task was quite simple until now, when my application was in the development stage and I could use property node blocks inside a for loop to achieve it.

 

The final step of the project requires to implement the code on a myRIO 1950 board, where the developed application is going to be set as a startup one so that its operation is resumed automatically if power supply failure happens.

 

Due to the fact that property nodes can't be executed by a startup application, I'm asking for ideas to develop some code that will have the same functionality as the attached VI, but where no property nodes are included. Until now, I haven't come up with anything that works in a similar way when it comes to using clusters.

 

Thanks for your attention,


NI XNET Autosar 4.3.1 support for Flexray

Hi Friends,

Is it possible to open FlexRay database with XNET ? The database is in ARXML format. I know for sure that the Database editor can open ARXML database of CAN but not sure about FlexRay.

We got a FlexRay database and when I tried opening it it is throwing some error.

 

 

I can't really understand whether it is problem with the database or XNET doesn't support FlexRay databases. We spoke to our client - they say the database built with Autosar 4.3.1 protocol and unless NI supports Autosar 4.3.1, it is not possible to open it.

If I can't open the file with NI tools , we need to buy some vector tools which is not a very cost effective solution.  Any clues?

 

Thanks,

LI

 

IS "Property node" or "Queue in/out" wrong??


I am debug a issue with this exist labview project.
I expect, when I scan a serial, it will run both Tracks and Flipper

(1) The problem are sometime, Track Calibration status and Flipper Calibration status
will run, sometime they will NOT RUN.
(2) some time only Track Calibration will run.
but NOT Flipper Calibration status.
Look the inside vi,
(3) From "Call Progress" Property node.

How the Serial Information transfer to "Obtain Queue" ?

(4) From "Run Test" "Tracks" "Flipper" and "Both"

How "Obtain Queue" know which one is select?

(5) How is "Queue in " and "queue out" works in the project?

(6) Please let me know why I have (1) and (2) issues.
(7) How do I change to do what I expect?

 Thank you for help. 

 

constellation with raised cosine filter

I want to understand, why we're using the filter: root raise cosine than we've got to the symbol map constellation TX: 0.4 + 0.4i, and in this case, the symbol represents several points, that's true it should be TX: 0.7 + 0.7i, like filter: non, thanks.

Using PFI0 to Generate an Event

Hi all,

I am using cDAQ-9137 to acquire some analog voltage on NI-9220. The acquisition would stop when the application receives a command via a TCP/IP connection and also via a signal wired to the PFI0.

 

I created an event structure to handle the software command. However, I am having a problem detecting a PFI0 signal and then generate another event to perform the same thing. Can you show me an example on how to do this?

 

Thank you very much,

David

programming a robot with labview fpga

Hello ! 

Im now working on this project , i have to develop a control system on labview of a robot , i wrote the vi. of the movment of the wheels and it compiled well, yet i would like to know how can i make the robot to move using booleans , i tried to connect them into the while loop but the robot doesnt move ,if someone could give me some suggestions i would be very thankfull.

Thank you very much 

Images of the vi. and the robot down

Datasocket Server On RT Target

I'm wondering if a datasocket Server can be used on a RT Target. I can get datasockets working correctly on windows, but I always get errors on the RT.

 

I have come to the conclusion that you can only use datasocket read/write on a RT Target, but not the actual server.

 

Is this correct?

Triggering using current sensor on NI9203 with NI9135 cDAQ

Hi,

 

I have been using a trigger DAQmx code just fine for a while, as it currently stands it is using a voltage signal from a laser distance sensor to trigger data collection (using a 9205 module).

 

I am looking to using a current sensor to trigger the data collection instead of the laser (on a 9203 module) but when I change the "source" constant on my Trigger VI (Reference Analog Edge) to pull the data from the current sensor it gives me the following error:

 

Error -200265 occurred at DAQmx Start Task.vi:7220001

Possible reason(s):

An attempt has been made to use an invalid analog trigger source.

Ensure that the trigger source you specify matches the name of the virtual channel in the task or matches the name of a non-scannable terminal that the device can use as an analog trigger source.

Property: Ref.AnlgEdge.Src
Corresponding Value: Trigger

Valid Choices: LaserTrigger

Device: cDAQ1

Task Name: _unnamedTask<18>

 

The valid choice it gives is the old laser trigger source that is still present in the VI.

 

Thank you,

 


COM port inactive after computer is unlocked

Greetings:

I am running into an issue where a COM port from a USB-to-RS232 hub stops working in LabView 2014.  There are four COM ports in this USB hub.  I am currently connected to two of them through a terminal program (Tera Term, 2 simultaneous instances) and one through LV.  The computers on our network are locked after 30 minutes of inactivity.  The VI I'm testing works fine when initially run as do the two non-LV COM instances.  If I let everything sit with no communications and allow the computer to lock, when I come back, unlock the computer and try my COM ports, I find that the two Tera Term instances work as expected, but the VI will not pull data from the COM port.  I open the port with no errors and then use the Bytes At Port property to see how much data is in the buffer.  The other end of this COM port is connected to a circuit board that spits out a "1\r" or "0\r" every 2 seconds depending on whether the photodiode connected to it sees light.  After unlocking, there are always zero bytes @ the port unless I close the VI and then close LV.  When I re-open LV and the VI things work correctly again.

 

I think this may be tied to port activity, because I use the fourth COM port to communicate with an environmental chamber which I query every 5 seconds.  My photodiode port is supposed to be queried every couple of hours, at specific points during the environmental chamber's temperature profile.

 

I've already done the usual.  I made sure the computer (Win10) does not disable any USB ports for power savings.

 

Does anyone have an idea what could be going on and what I can do to fix it?  I'm currently testing the port activity hypothesis and if that is the issue, I can throw a dummy port query into my main loop.  However, that feels kludgey to me.

 

Thanks in advance!

Communicating with GW Instek PSW250-13.5

Hello all,

 

I have been working through Hands-On Introduction to LabView by John Essick, and am now trying to control a GW Instek PSW250-13.5 through USB and a VISA session in LabView 2016 Student Edition (I've also tried on the full edition and had similar problems) on a bootcamped macbook pro (Macbook Pro running Windows 10). I've been able to issue single commands using RealTerm, but when I try to connect to LabView the instrument only shows up as COM5 (the port it is connected through) as a VISA Resource Name. When I try to run a simple program like issuing the command *idn?, I get a timeout error. I've tried to adjust the timeout property up to 10 seconds, but still get the timeout error. Furthermore, when I look on device manager on Windows Control Panel I see that something is hooked up into COM5, but there is no indication that it is the power supply or any other lab instrument. I have tried downloading the drivers for LabView2016 for the isntrument, but I just get a 7zip file that doesn't do anything. Any help in troubleshooting my connection to the instrument? Thanks,

Ely

Programmatically determine NI-DAQ devices available?

Similar to the 'VISA Find Resource' function, is it possible to programmatically determine which NI-DAQ devices (in my case USB ones; i.e. USB-6003, USB-6501, et.al.) are connected to the computer?

 

I have a situation where I do all my programming on one laptop and spin-off compiled applications (via App Builder) to individual instruments and setups.  Right now when I have to work with one of them I have to go into NI MAX, see the devices available, determine which one is which, rename devices accordingly so that what's on that instrument becomes my Dev1 or Dev2, etc. (since the individual machines are all Dev1/Dev2 whereas on my laptop I've now got Dev1 through Dev18 for ALL the devices on ALL the instruments) and also change multiple filenames to be consistent with what's needed by that particular instrument (am keeping copies of the setup files for the various instruments on my laptop - and they can't ALL be called 'config.ini' in the same folder, yah?).

 

What I'd LIKE to do is plug in and run a separate VI which will look at the available devices, pull the device serial numbers so it'll know which machine it's plugged-into, and programmatically rename devices and files so the particular VI I'm running will always have consistent resources & file names going into it (so I don't have to do it all by-hand time-after-time in NI MAX and windows).

Labview NOT working with Raspberry pi3 B

Dears

 Please help in this issue of raspberry pi3B which after installation the labview 2014 32bit on windows 7 and following all the instructions of makerhub for setting up the SD card and other details I have now two issues before attempting the advanced blinking VI:

1- first issue the LED continue to be ON all the time after installing the labview into the SD card as shown in picture Image may be NSFW.
Clik here to view.
Capture.PNG
Image may be NSFW.
Clik here to view.
IMG_0939.JPG
 

this case happens even before uploading the VI to the RPI3 with last operating system (

RASPBIAN STRETCH WITH DESKTOP

Image with desktop based on Debian Stretch
Version:April 2018
Release date:2018-04-18
Kernel version:4.14)
and for this case when i changed the pin from no.7 to pin no8 I got the message below 
 
Image may be NSFW.
Clik here to view.
Untitled.png
and I have asked about this issue n Raspberry pi .org forums and someone answer me to use the  http://downloads.raspberrypi.org/raspbi ... 017-07-05/ 
2-and a second case happens after installing the raspbian 05-07-2017 which is the LED was NOT blinking and always OFF even I checked the voltage across it was 1.6 volt DC.
same thing when i installed the NOOBS I got NO blinking and the LED always OFF.
and finally today i have follow the instructions in the link below and still no changed in two case which I have 
file:///C:/Users/iqmudha/Downloads/Install%20Guide%20for%20RPi+LabVIEW+MakerHub.pdf
 
is there any help for this case since I'm lost for two weeks without any help from Makerhub team.
  

SERDES Clip Using Regional Clocks

So I’m thinking I ought to be able to hook up the Strobe with the 100Mhz clock, then hook the data into one of the LVDS_IO lines and be able to get the data that way. I’m having a new problem though. I’ve hooked up a 100Mhz clock to the strobe but when I run the FPGA it just breaks and tells me... "An erro was detected in the communication between the host computer and FPGA target" I’m using the sample project found in the help. Specifcially "NI 6589 Finite Acquisition - External Clock Start Trigger (FPGA)" I don’t even get a chance to press commit before it errors out on me. The clocked process I think it is getting mad at is the one using the “IO Module\Acq_Regional_Clock” I having been looking at Figure 9 in the getting started guide for the 6589 module, and everything looks correct. I have a 100MHz LVDS clock hooked up on the strobe signal. And then from http://zone.ni.com/reference/en-XX/help/372614J-01/friohsdio/6589_serdeschan_clipref/ If I’m reading this right, as long as I choose bypass, the strobe should act as the SERDES clock for the LVDS input channels. The other ineteresting thing is the example project allows you to use an internal clock source for the regional clock. Even doing that I still end up with the same problem. It pretty much just looks like the regional clocks aren't working. Is there some enable I'm missing? What is preventing the example project from working? I can’t help but feeling I’m making this way harder than it needs to be… Thanks, Matt

Buffer for Load Cell Data Collection with NI myDAQ

Hello,

 

I am using a myDAQ to collect impact force measured with a FUTEK LCM325 FSH04009 load cell (http://www.futek.com/files/pdf/Product%20Drawings/lcm325.pdf). My issue is when doing the conversion from millivolt input to force measurement, the conversion requires multiplication by 2000 lb unit conversion which amplifies any noise in the load cell reading (a static reading with no force applied gives a reading of +/- approximately 15 lb). Is there a buffer or some labVIEW function suitable to use to smooth out my reading but still collect an adequate number of sample points to analyze the impact? (myDAQ sample rate according to the spec sheet is 200kHz, so I would be looking at 200 samples for a 1 millisecond impact)

How to correctly plot FFT

I am using LabVIEW with IMI 682B03 Acceleration module.

I am taking the data Via. PLC into LabVIEW using RS485.

I am unable to get the FFT from the data.

Please Help Me With The Same


Resize selector button on combo box

Hello,

 

How can I resize selector button (arrow) on combo box? It's too small. See attachment. This is a silver button and I'm using LabView 2016.

 

br,

paalbrok

Deadpool 2 Fresh Start

voltage acquisition NI cDAQ-9184

Hey,

 

I am new in Labview and I would like to create a program to display the voltage reading, a graph of the voltage vs time and the elapsed time. I have already started a VI but when I run it this message appears :

 

Error -200077 occurred at Property Node DAQmx Timing (arg 5) in DAQmx Timing (Sample Clock).vi:4730001->Main program.vi:Instance:1:490001->Main program.vi

Possible reason(s):

Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property.

Property: SampClk.Rate
Requested Value:  0.0
Maximum Value:  26.666667e6
Minimum Value:  22.250739e-309

Task Name: _unnamedTask<12>

 

I use a NI cDAQ-9184. I have attached my VI to this message. Any comment is appreciated! Thanks! 

LED light up different depending on case

Hello again!

We are a group of mechanicale students from sweden involved in a real life project. We have created a user-on-track for the worlds biggest treadmill. Right now we use our limited knowledge to try and program it. The idé is to mesure time between different sensors and from that give a new speed to the treadmill. When we`ve gotten a new speed, we send one or 2 signals (we use LED´s to simulate that) to the plc through the old system. The old system increases the speed with 0,5 (km/h)*s (k50) or 1 (km/h)*s. So if we want to increase with 4,5 km/h we send a signal to k100 for 4 seconds and 1 second to k50. 

Now to the problems we are having.

1. We only whant to increase the speed when one are moving forward (S5 to S6, or S6 to S7) and we can get that but we also gets a speed on the way back. 

2. We want the LEDs to light up when signaled and then stop until you get a new time in the right direction. they do light up but then it continues in the same loop. 

3. The signals to k50 and k100 cant come in at the same time and if you sould pass S5 and S6 it will be given a new speed. But let say you continues all the way to S7 and you get a new speed between S6 and S7. We want that speed to start send signal right after the first signals are send, not start while the first signals are still sending.

Hope you guys can help us!

Fluctuating flow.

Hi All,

 

I'm reading signal from high flow motor. Problem I am having is that value is fluctuating, thus my read flow for instance is between 50-60 l/min. I can't read steady value. 

 

Is there any solution how could I averaging reading value inside the while loop?

 

Thanks,

gregorian7 

Viewing all 69225 articles
Browse latest View live


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