From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

VirtualBench

cancel
Showing results for 
Search instead for 
Did you mean: 

Announcing free firmware update - version 1.1 adds SPI and I2C protocol analysis

Thanks Brandon,

I'm going to play with it in Labview then.

Cheers,

-Paul

0 Kudos
Message 11 of 18
(4,703 Views)

So I'm downloading all three update files and the file names are identical...

 

downloads.jpg

 

 

0 Kudos
Message 12 of 18
(4,663 Views)

@robham wrote:

So I'm downloading all three update files and the file names are identical... 


Yes, it is rather confusing. They'll be named less ambiguously for the next release.

 

If you want everything, you just need the "NI-VirtualBench Driver" installer (the 192MB one); it includes the VirtualBench Application and the VirtualBench run-time libraries.

——
Brandon Streiff
ni.com/compactdaq · ni.com/daq
0 Kudos
Message 13 of 18
(4,654 Views)

Hello William,

 

How does it look like with new version which supports UART analysis? Thanks

 

Daniel

Daniel Haupt
0 Kudos
Message 14 of 18
(4,376 Views)

@JoeFriedchicken wrote:

VirtualBench 1.1 is now available as a free firmware update and is packed full of new features, performance enhancements, and bug fixes. New additions include:

...

Device API changes

  • Added C API.

 

I would like to point out that a VirtualBench enthusiast created Python bindings for our C API!  You can find the work in an open source project here: https://github.com/armstrap/armstrap-pyvirtualbench.  Feel free to try it out and see what experiences you have.  The brevity of Python combined with the ease-of-use of VirtualBench make a really compelling experience.  As an example from https://github.com/armstrap/armstrap-pyvirtualbench/blob/master/examples/dmm_example.py.

 

from pyvirtualbench import PyVirtualBench, PyVirtualBenchException, DmmFunction

# This examples demonstrates how to make measurements using the Digital
# Multimeter (DMM) on a VirtualBench.

try:
    virtualbench = PyVirtualBench('myVirtualBench')
    dmm = virtualbench.acquire_digital_multimeter();
    dmm.configure_measurement(DmmFunction.DC_VOLTS, True, 10.0)

    for i in range(10):
        print("Measurement %d: %f V" % (i, dmm.read()))

    dmm.release()
except PyVirtualBenchException as e:
    print("Error/Warning %d occurred\n%s" % (e.status, e))
finally:
    virtualbench.release()

------
Zach Hindes
NI R&D
0 Kudos
Message 15 of 18
(4,313 Views)

ZachHindes wrote:

 

I would like to point out that a VirtualBench enthusiast created Python bindings for our C API!  You can find the work in an open source project here: https://github.com/armstrap/armstrap-pyvirtualbench.  Feel free to try it out and see what experiences you have.  The brevity of Python combined with the ease-of-use of VirtualBench make a really compelling experience.  As an example from https://github.com/armstrap/armstrap-pyvirtualbench/blob/master/examples/dmm_example.py.


Both of your links are broken.

 

https://github.com/armstrap/armstrap-pyvirtualbench/blob/master/examples/dmm_example.py

 

and 

 

https://github.com/armstrap/armstrap-pyvirtualbench

 

But also I think what is most interesting is seeing this API being used with a video demonstration here.

 

http://armstrap.org/2015/07/27/pyvirtualbench-controlling-five-instruments-from-a-single-python-appl...

0 Kudos
Message 16 of 18
(4,272 Views)

@Hooovahh wrote:

Both of your links are broken.

https://github.com/armstrap/armstrap-pyvirtualbench/blob/master/examples/dmm_example.py

and 

https://github.com/armstrap/armstrap-pyvirtualbench

But also I think what is most interesting is seeing this API being used with a video demonstration here.

http://armstrap.org/2015/07/27/pyvirtualbench-controlling-five-instruments-from-a-single-python-appl...


Ugh, thanks for that.  Sometimes WYSIWYG editors are too smart for their own good.  Thanks for the link to the video as well!

------
Zach Hindes
NI R&D
0 Kudos
Message 17 of 18
(4,204 Views)

I request that audio IIS decoding is added also.   

 

Thanks,

Robert

0 Kudos
Message 18 of 18
(3,510 Views)