Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Yes, as a general rule, it is fairly unusual to stick an equal sign on a floating point number. This applies to most programming languages, not just LabVIEW. So, I would never stick an equals zero on the output of std dev but I have once or twice broken the rule like this:
  3. Yesterday
  4. You are trying to run before you can walk. Try and get something (anything!) to display on the 3d graph. Read some docs to understand how to use its API. Once you understand the data you need to pass into it you should be able to display something on it. Then you will need to figure out how to get the actual measurements/information you care about to be displayed.,
  5. I'm kind of stuck here! I don't know what to do next. I want to make them work togheter, to make it in such a way to move from left to right at command and to allow me to choose where to move if give the order, how to put the 3d graph and to calculate the distance and to put the resoults in a separate indicator.
  6. Pasting this here for others to see in case they don't want to download the VI. OK, so it looks like you "just" need to update the graph now. What have you tried so far?
  7. Stepper Motor Control (1).viThis is what i atempted
  8. Last week
  9. I'd be more impressed if it signed up, and solved the Captcha to post (unlikely). Isn't that why we want AI? So that we humans don't go through 20 puzzles of captcha only to be told we are a bot? Maybe that's just me, though.
  10. I do not think it is a bug, just floating point math. You don't have infinite precision. See below for another example.
  11. Feed an array comprised of non trivial equal numbers (e.g. a 1,000 values of 1.2345) to the Std Deviation and Variance.vi of the Mathematics>>Probability & Statistics palette and look at the standard deviation output using a display format such as that shown below: You will be surprised to see that the standard deviation is non zero and within the range of the precision for the type (~1E-15). While this might not be an issue in most use cases, it is still not an optimal result, and suggests that the calculation done in the called DLL is not optimal (it probably uses the standard formula, but because of round-off errors, the outcome is non-zero). I am posting this in the "bug" category, although it is not strictly speaking one, just to warn unsuspecting users (like me), that dealing with floating point numbers comes with its load of gotchas. Here is a snippet to experiment with the phenomenon: Again the display format of the standard deviation indicator needs to be chosen wisely to reveal the round off error.
  12. Hello, I'm trying to run a LabVIEW web service using the HTTPS protocol. I have published my webservice on a windows server. I tested with another machine (client) this webservice and all works correctly. Then I wanted to enable HTTPS on the web service, so I created a self-signed certificate configured with the server's IP address, which I installed on the server and the client machine (my computer). On the client side, I manage to go through the server, but an error message tells me that it can't find the url of my web service method. It's as if my web service didn't exist, but it works if I use HTTP. Below are the images of my web service configuration : I'm also displaying the error I get when I make the request: Thank you in advance for your reply.
  13. Good success with that, but I doubt they have the patience and dedication to build up anything substantial even in terms of numbers of answers to get to some "credit". Let's not talk about the content of it.
  14. I have worked in the past on ADAM5000TCP controllers + modules using this nice toolbox, so it is certainly possible. Unfortunately that was years ago, I don't have access to the hardware anymore and I don't remember details, so I can't be specific. What you describe, though, sounds simply like not querying the right IP, or not having set correctly the netmask on your NIC and in the ADAM (was there an option to do that somewhere? In ADAMview?). Assuming, obviously, that it is not because of a faulty ethernet cable (happens, too). I also think that at some point in the Modbus tester there was a small bug like that if you once had a connection refused (e.g. because of querying a nonexistent register) you had to stop and restart the tester in order to establish the connection again, but my memory is vague on that. Maybe Porter corrected that since then.
  15. Hello, I'm trying to use LabVIEW with the Modbus Master library to communicate with an Advantech ADAM5000TCP data acquisition device instead of using the original Advantech ADAMVIEW software it was supposed to work with. I'm making this connection with LabVIEW on a different computer than the one that uses the ADAMVIEW software. The ADAM5000TCP is connected to my computer via ethernet. When I try to use the Modbus COMM Tester, I'm unable to Open Port and start the Modbus session, and either get a timeout error or a "Serial port receive buffer overflow"/The network connection was refused by the server." I'm trying to use the TCP communication, am using what I think may be the correct IP address, and the Slave ID is set to 0 to broadcast to all networked devices. With the IP address, I've tried both the ethernet address from my computer, a 169.254..... IP, and the address that is displayed in ADAMVIEW on the old computer, a 192.168.... IP. Do you know what the cause of the issue could be?
  16. What's the purpose of this idiocy? Using AI to create a fake answer to then using it again on it to create a fake thread? I miss the purpose of the spam. To create, on the long term, a fake profile with "credit" as an expert, for social media?
  17. Hello, I am currently working on a project that involves building a 2-way radar system using LabVIEW. For this project, I am using an HC-SR04 ultrasonic sensor for distance measurement and a 5V DC 28BYJ-48 stepper motor for directional scanning. The sensor is connected to my NI USB-6008 digital I/O for data acquisition, while the stepper motor is controlled via an ULN2003 driver module connected to the USB-6008's digital outputs for precise movement control. My goal is to implement a system that can perform left-right and up-down 90-degree scanning, display real-time distance measurements, and visualize the radar scan in a 3D graphic interface using LabVIEW. I am facing challenges with setting up the communication between LabVIEW and the HC-SR04 sensor; ensuring accurate distance measurements, and integrating smooth control of the stepper motor for precise scanning movements within LabVIEW. I have tried configuring LabVIEW for sensor data acquisition and motor control, but I need guidance on best practices ; example code snippets. I am interested in advice on configuring LabVIEW for sensor interfacing, implementing precise motor control, and integrating these components into a coherent 3D visualization. I have checked https://forums.ni.com/t5/Hobbyist-Toolkit/bd-p/react native-linx-toolkit?profile.language=en guide but still need help. Any help would be greatly appreciated. Thank you all for your expertise and support! Best regards,🙂 greatjames
  18. Hello To create a LabVIEW diagram for your 2-way radar system using the NI USB-6008, 28BYJ-48 stepper motor, and HC-SR04 sensor, follow these steps: 1. Set up NI USB-6008 for data acquisition from HC-SR04 using LabVIEW's DAQ Assistant. 2. Control 28BYJ-48 stepper motor via LabVIEW using digital outputs. 3. Integrate HC-SR04 sensor data into LabVIEW for distance measurements. 4. Visualize radar scan in 3D using LabVIEW's graphical capabilities. Hope it helps ! Thank you🙂
  19. Earlier
  20. Do LLMs edit their posts to appear more human? 🤖
  21. Hi Diac, What in particular do you need help with as you ask about how to implement the whole project! If you have something working with an ESP32 try and mimic the implemention in LabVIEW
  22. Thank for your reply. I have use recetly a Windows tablette and I don't have this problem. I don't kown where is the Windows setting for this paramter
  23. 2-way radar with ultrasonic sensors with left-right and up-down 90 degree opening and 3D graphic display What should I do in labview for this? instead of esp32 I use a NI USB-6008, for the motor a 5V DC 28BYJ-48 stepper motor with reduction + driver and a hc-sro4 for the sensor how to do it? Can someone help me with a labview diagram?
  24. Hi @greatjames don't take this personally but are you are human? I really don't think it is appropriate for an LLM to generate content in response to advice on something as nuanced as a LabVIEW career.
  25. Hello The error you're facing could be due to driver compatibility with LabVIEW 2013, incorrect serial settings, or a USB connection issue. Double-check driver compatibility, ensure correct serial settings (baud rate, parity, etc.), and verify the USB connection. Hope it helps ! 🙂
  26. Hello Many developers in your position consider becoming consultants for more variety and challenge. Networking with other LabVIEW professionals can offer insights into different career paths. Consider your career goals and risk tolerance when deciding whether to stay in-house or transition to consultancy. Both paths have pros and cons related to job security, variety of work, and personal growth opportunities. Thank you
  1. Load more activity
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.