Velleman Instruments Port Devices Driver



3.3 MHz I2C, 50 MHz SPI I2C/SPI Interface Device—The NI USB‑8452 is a master interface for connecting to and communicating with inter-integrated circuit (I2C) and serial peripheral interface (SPI) devices.With plug‑and‑play USB connectivity, the USB‑8452 is a bus-powered, portable solution to communicate with consumer electronics and integrated circuits. Power on the printer, connect USB to the computer, and the driver will be installed automatically. If can not install automatically, please open the 'Device Management', find a port with a yellow exclamation mark, right click 'Update Driver'. Select 'Browse my computer for driver software'. Find Cura driver and install it.

This article describes an issue that occurs when you use a FireWire port-based device in Windows 8.1 or Windows 8. Additional steps of configuration is required to enable this update after the installation.

Symptoms

  • Free Serial Analyzer Features. Free Serial Port Analyzer is able to capture and decode monitored packets in real-time even under high traffic load. This Freeware Serial Port Monitor supports all standard Bit rates of 75, 110, 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600 and 115200 bit/s.
  • Velleman was founded by Koen Velleman in 1974 to produce electronic kits. With over 40 years of experience, our company is an established value in the development of electronic kits, instruments and modules and it markets an extensive range of consumer and do-it-yourself products. Today, Velleman is present in more than 80 countries with no less than 16,000 products, spread across 8 private.
  • Bike; Car; Electrical Supplies. Cable Reels; Connectors; Power Cords & Cables.

Assume that you have a computer that equips with an IEEE 1394 FireWire controller card. After you upgrade the computer from Windows 7 to Windows 8.1 or Windows 8, devices that connect to the computer by using a FireWire port do not work.

Cause

This issue occurs because the legacy 1394 bus drivers (1394bus.sys and Ochi1394.sys) are removed in Windows 8.1 or Windows 8.

Resolution

Update information

How to obtain this update

Microsoft Download Center

The following files are available for download from the Microsoft Download Center:

Operating system

Update

All supported x86-based versions of Windows 8.1 or of Windows 8

All supported x64-based versions of Windows 8.1 or of Windows 8

Velleman Instruments Port Devices Driver

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Additional steps of configuration requirement

After you install the 1394 OHCI Legacy Driver.msi file, follow these steps:

  1. Right-click the Legacy1394.inf file under one of the following paths based on the computer's architecture:

    • C:Program Files1394 OHCI Compliant Host Controller (Legacy)x86_driver

    • C:Program Files1394 OHCI Compliant Host Controller (Legacy)x64_driver

  2. Click Install.

  3. Open Device Manager in Control Panel.

  4. Expand IEEE 1394 Bus host controllers, and then locate the host controller.

  5. Right-click the host controller, and then click Update Driver Software.
    The screen shot of the host controller and the Update Driver Software is listed in the following example:

  6. Click Browse my computer for driver software.

  7. Click Let me pick from a list of device drivers on my computer.

  8. Click Generic1394 OHCI compliant host controller (Legacy), and then click the Next button.

  9. Click the Close button.


Prerequisites

There are no prerequisites for installing this update.

Registry information

To apply this update, you do not have to make any changes to the registry.

Velleman Instruments Port Devices Driver

Restart requirement

You have to restart the computer after you apply this update.

Update replacement information

This update does not replace a previously released update.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows 8.1 and Windows 8 file information notesThe MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are not listed

For all supported x86-based versions of Windows 8.1 or of Windows 8

File name

File version

File size

Date

Time

Platform

1394_ohci_legacydriver.msi

Not Applicable

208,896

15-Aug-2014

20:48

Not Applicable

For all supported x86-based versions of Windows 8.1 or of Windows 8

File name

File version

File size

Date

Time

Platform

1394_ohci_legacydriver.msi

Not Applicable

208,896

15-Aug-2014

20:48

Not Applicable


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the 'Applies to' section.

More Information

Steps of uninstalling the 1394 OHCI Legacy Driver.msi file

  1. Open Control Panel in the Category view.

  2. Click Uninstall a program in Control Panel.

  3. Right-click 1394 OHCI Compliant Host Controller (Legacy), and then click Uninstall.
    The screen shot of uninstalling the 1394 OHCI Compliant Host Controller (Legacy) is listed in the following example:

Additional package information

  • This driver is only intended to work with legacy 1394 host controllers. Therefore, you may experience lower transfer data rates than the 1394b driver.

  • The driver is intended to resolve compatibility issues for 1394 peripherals on 1394b systems. If you are not experiencing these issues, you should continue to use inbox drivers that are provided in Windows 8.1 or Windows 8.

  • You have to reinstall this stand-alone driver package if you upgrade to a newer operating system version in the future.


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

By Trent Jarvi, MathWorks

Many MATLAB users who analyze data, develop and verify algorithms, or create software applications leave the MATLAB environment to import data from external hardware. This extra step creates inefficiencies by forcing the user to manually transfer data from one environment to another and to learn and maintain multiple software tools.

Using a Garmin handheld Global Positioning System (GPS) receiver with an RS-232 serial interface as an example, this article demonstrates how you can use MATLAB and Instrument Control Toolbox to work with diverse external devices without leaving the MATLAB environment. It explains how to communicate with a serial device, interact with the device in MATLAB, and automatically generate a MATLAB script that can be shared, reused, or incorporated into a MATLAB application.

The MATLAB scripts used in this article are available for download.

RS-232 serial devices, such as GPS receivers, and instruments, such as oscilloscopes and signal generators, can be configured and controlled in MATLAB with Instrument Control Toolbox (Figure 1). Our example uses a consumer-grade Garmin ETrex 12-channel GPS device, typically used while hiking and boating. The example uses electrical and data communications specified by National Marine Electronics Association (NMEA) 183 communication, which should work with any GPS device capable of serial communication. You could use other protocols, including Garmin’s proprietary protocol, if you have access to the specifications.

Figure 1. A GPS device interfaced to MATLAB.

To find out what serial devices and instruments are available for communication, we can use MATLAB command-line functions, such as instrhwinfo, instrfind, and serial. Alternatively, we can use TMTool, a graphical user interface provided by Instrument Control Toolbox that lets you locate, configure, and control serial devices and instruments without writing MATLAB script (Figure 2). First, we will explore available hardware assets using a hierarchical tree.

Figure 2. Launching TMTool in MATLAB. Click on image to see enlarged view.

Communicating with a device to acquire data often requires establishing a connection to its communication interface. With TMTool we can configure, control, and acquire data from devices through well-established interfaces, including serial, GPIB, TCP/IP and UDP (Figure 3). We can also use TMTool to communicate with instruments using VISA, LXI, or IVI and VXIplug&play drivers.

Figure 3. TMTool interface. Click on image to see enlarged view.

In Figure 4, the serial node has been expanded to show the serial ports available for communication. The GPS is configured to broadcast NMEA format data, a common option in consumer-grade GPS receivers.

After connecting the GPS receiver to COM1, we select the Configure tab for COM1 and set it to match the serial port parameters. NMEA defines these parameters as baud rate 4800 bits per second, 8 data bits, 1 stop bit and no parity.

Figure 4. Configuring serial port parameters. Click on image to see enlarged view.

After configuring the serial port parameters, we open the connection via the serial port. The Connection status changes to Connected, indicating that communication with the GPS through the Communicate tab is now possible. The NMEA standard specifies that data must be transmitted as ASCII characters in new line-terminated strings. Using the dropdown menu, we set the “Receiving data” parameters to comply with this specification.

Figure 5. Acquiring serial data in TMTool. Click on image to see enlarged view.

We can now send data to the hardware and read the responses. For our example, all we need to do is read the data broadcast from the GPS. We can confirm that we are communicating properly and that the data of interest is available by clicking the Read button several times to observe that properly formatted strings are being acquired in the sequential log. After a few attempts, the GPS coordinates of interest appear in the results, together with several other NMEA data types. Finally, we close the connection to the GPS device to capture the disconnect as MATLAB script in the session log for later reference.

Once we have configured the port, read the strings, and acquired the data in which we are interested, we can repeat this series of tasks in the future by simply exporting the generated script to a MATLAB file called get_gps_location.m. We can then execute the MATLAB script that was automatically generated when we interacted with TMTool (Figure 6).

Figure 6. MATLAB script automatically generated by TMTool. Click on image to see enlarged view.
Velleman instruments port devices driver download

So far, we have configured the hardware and acquired the data, but some of the data that we acquired, such as waypoints and time information, is not specific to the GPS location. With TMTool, we can automatically filter out this unwanted data, just as we automated the hardware configuration and data acquisition by adding MATLAB script to a MATLAB instrument driver. TMTool automatically updates the MATLAB script generated in the Session Log tab. Once we have exported the updated script MATLAB_GPS_example.m, we can insert MATLAB routines to filter the data stream.

To acquire and process the GPS data, simply execute the MATLAB_GPS_example.m file on the command line.

While the MATLAB workflow discussed so far will be sufficient for some applications, others might benefit from incorporating the MATLAB script into a reusable driver. We can incorporate the MATLAB script into a reusable driver by using MIDEdit, a driver development tool in Instrument Control Toolbox (Figure 7). MIDEdit lets you incorporate lower-level commands into higher-level commands that are easier to access. After launching MIDEdit from the command line, we create a new generic instrument driver through the File->New context menu.

Figure 7. Using MIDEdit to create a driver with function name getLocation. Click on image to see enlarged view.

To demonstrate the use of a self-contained, reusable driver in MATLAB, we will add just two pieces of functionality to the driver: configure the GPS device and acquire the GPS location. With MIDEdit we could also create more advanced drivers comprising hundreds of lines of code.
To configure the GPS device, we browse to the automatically generated MATLAB script in the TMTool session log. This script sets the baud rate and then opens the port. We can now copy this information into a driver. Within MIDEdit, we select the Connect tab from the Initialization and Cleanup node and set the Function Style to M-Code. We then paste the script from TMTool into the function created in the driver editor. Noting that the serial interface may be obtained from the variable obj passed into this function, the MATLAB script is adjusted to use the serial port interface.
To acquire the GPS location, we select the Function node in MIDEdit and add a new function called getLocation(). This function will obtain the latitude, longitude, and cardinals. In the MATLAB code editor pane, we paste in the MATLAB script that reads the NMEA lines. As in our first example, we modify the function to return an array representing the GPS location. We add logic that instructs getLocation() to find only the GPS coordinates in the NMEA stream and to return the location. More functions could be added for each type of NMEA information found in the stream. Finally, we save the driver to our workspace as nmeareceiver.mdd.

The driver is now ready to be used with the GPS device. We use TMTool to expand the Instrument Drivers node and create a new interface object by right-clicking the Interface Objects node under the Instrument Objects node. We select a serial port interface object and set the port to the serial port to which the GPS is connected. The interface object could be configured, opened, and read using the process described in the previous section, but this time we will use the instrument driver to perform our acquisition and analysis tasks.

We select the Instrument Objects node and enter the information for the instrument driver nmeareceiver.mdd by right-clicking and selecting new Device Object. We then connect the GPS to the serial port represented by the interface object. It is possible to change the interface if the device and driver support more than one interface. When completed, the nmeareceiver instance will appear under the Device Objects node.

We can now connect to the GPS using the Connect button. Under the Functions tab, we can execute the getLocation() function, resulting in the current location being acquired. We can export the results to the workspace for further analysis.

MATLAB script is automatically generated when you interact with the driver in TMTool. As when working with the GPS device without using a driver, this generated script lets you reuse your work later to communicate with the device

Velleman Instruments Port Devices Driver Download

We can enhance the reusability of the driver by adding functions, such as the datum being used, date and time, or waypoints. The driver can be shared with users who do not need to understand in detail how to communicate with their device.

We used a GPS device to demonstrate how to configure and acquire data from external hardware without leaving the MATLAB environment. We used MATLAB and Instrument Control Toolbox to communicate with this hardware without writing a MATLAB script, demonstrated how to reuse our work using a MATLAB script automatically generated to communicate with the hardware, and how to incorporate functionality into MATLAB function calls through drivers. Using MATLAB improves work efficiency by eliminating the need to manually transfer data from one environment or learn and maintain multiple software tools.

Published 2007

Products Used

Velleman Instruments Port Devices Driver

Learn More

Velleman Instruments Port Devices Driver Updater

View Articles for Related Capabilities