GPIB | Prologix GPIB C # library
kandi X-RAY | GPIB Summary
kandi X-RAY | GPIB Summary
Prologix GPIB C# library. In order to control the Prologix USB box from an C# program. Class have not been fully tested yet. Several issues with non SCPI instruments. Some end up pouring out data without any way to stop it.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of GPIB
GPIB Key Features
GPIB Examples and Code Snippets
Community Discussions
Trending Discussions on GPIB
QUESTION
I am trying to control EM Test Equipment (AutoWave, PFM200, VDS200Q) remotely.
I have received LabVIEW and C# driver for that from the manufacturer and I have also read the manual. As I have never done similar work and automatic tests before, can someone tell me from where should I start? Do I have to develop the framework for that?
My main aims are as follows,
- Use the segment files (.dsg) generated/exported from Autowave.control software link
- Execution of .dsg files
- Test result evaluation and reporting after every single .dsg file execution
The picture below shows the test environment of the EM Test System. The main communication protocol used here is Ethernet and GPIB(IEEE 488).
Any help would be appreciated. Thank you!
Tom
...ANSWER
Answered 2021-Mar-18 at 12:11It's impossible to give you a precise answer without knowing more detail about your requirements and your knowledge, and I'm not familiar with this specific field of electromagnetic compatibility testing, but if you are already capable of working with LabVIEW, and the manufacturer of the instruments supplies a LabVIEW driver which can do the operations you describe, then with enough time and effort you should be able to achieve what you want. A lot depends on how this will be used: is it just a tool that you will use, or must it be shared with other users who will expect it to look and behave like commercial software?
There are two ways you could think about the problem:
Top-downWrite down or draw a picture of the overall test process. Probably you need to collect some information from the user, then configure the hardware, then set some conditions and make some measurements, then possibly change the conditions and make more measurements some number of times, then return the hardware to its original state and end communication, and finally analyse and report the data you collected. Design the user interface and the high-level program structure to do that. Then start implementing the actual instrument communication and data handling for each step. For the steps you haven't implemented yet, you can make placeholder code that e.g. just asks the user to confirm that the operation has been done manually.
Bottom-upThink about the operations you actually need to do with the hardware: what are the inputs, what messages are sent or received, what are the outputs. Implement one of these operations as a module (LabVIEW VI) that you can re-use. Probably your data can be divided into configuration for the whole test and settings for individual test steps, so think how best to store that data and pass it around. Build more modules and link them together to cover more and more of the required functionality.
In practice, I would do both of these: start low-level to understand how the driver really works and what the data is, but at the same time work on a concept of how the final product will behave and be structured.
I strongly recommend looking at the templates and examples that come with LabVIEW, such as the Simple State Machine and Finite Measurement examples. Using these as a starting point can save you a lot of effort, but if you find them hard to understand maybe you need to build your skills a bit more before taking on this project.
Finally, if this needs to be highly professional or you have a deadline to build it, perhaps you should look at a test executive application such as NI TestStand instead, or if you are working with automotive systems possibly ECU-TEST? Both of those can interface to LabVIEW. You may even have access to TestStand already if you have one of the NI 'suite' licences, or be able to add it for a reduced price.
QUESTION
I am trying to communicate with a LeCroy WaveRunner 640Zi oscilloscope from a Raspberry Pi, they are connected with a USB cable. I have already done this under Windows, but now I am not able to make it work in Linux.
If I run lsusb
I see this:
ANSWER
Answered 2021-Mar-04 at 17:59I managed to find a solution which I share for the sake of future generations to come. I had just to add a line to the file /etc/udev/rules.d/99-com.rules
with the content SUBSYSTEM=="usb", MODE="0666", GROUP="usbusers"
(or append this line in case the file already exists). This can be done first running
QUESTION
I'm facing a real blocking issue with kivy and pyvisa and I'm really lost about how to find a solution to this.
In the code below, I have an ObjectProperty called 'device' who's initialized to None. I want to use it to start a GPIB connection. When this one is closed, I want to set the device property to None again.
All the code below is a simple example to try to find a solution to this problem, but I'm facing actually this issue in a real application. One of the functions of this application is to choose which equipment to use in a list, and it is impossible for me to know in advance which one will be available or not, or even if the property 'device' will be connected in GPIB or in another protocol. This is why it is important for me to reset it to None.
Here is the code:
main.py
...ANSWER
Answered 2020-Dec-10 at 10:08https://kivy.org/doc/stable/api-kivy.properties.html#kivy.properties.Property
None is a special case: you can set the default value of a Property to None, but you can’t set None to a property afterward. If you really want to do that, you must declare the Property with allownone=True:
QUESTION
I am using PyVISA to communicate/control a Santec TSL-550 tunable laser via GPIB-USB.
My setup was working a few days ago and everything is correctly installed (NI-VISA, NI-MAX, NI 488.2, pip installed pyvisa-py, etc.), but I received this error randomly today.
The error in the terminal and in PyCharm is the same:
pyvisa.errors.VisaIOError: VI_ERROR_ALLOC (-1073807300): Insufficient system resources to perform necessary memory allocation
There are little resources online and no solution was found on the NI forum.
...ANSWER
Answered 2020-Jul-26 at 19:34The solution was simple, but obscure.
The GPIB side of the GPIB-USB adapter was not connected in all the way. I tightened it and the error was resolved.
QUESTION
Hey I'm already build my project using ReactJS with ReactRouter, but when I deploy it to my cloud server, it only brings up a blank screen, what should I do?
Here's the code in my App.js
...ANSWER
Answered 2020-May-24 at 14:14this problem is solved when i upload it to firebase or surge, everything works smoothly, you can learn it in this article https://create-react-app.dev/docs/deployment/
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install GPIB
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page