Comments (4)
Thanks for mentioning this. Currently this example is only Linux and Mac compatible. I haven't gotten around to updating it for Windows yet, but I'll look into it soon.
from labjackpython.
We should probably add something like this until it's updated:
import os
assert os.name == "posix", "This example makes Unix-specific assumptions"
That error will be clearer to Windows users than the AttributeError
they currently get.
from labjackpython.
@mnaberez , thanks. If I can't get to updating this example for cross-platform support by Friday (06/23), I'll probably add your assert code for the meantime.
from labjackpython.
Resolved in latest commit. The new outputSinDac works on Windows, Linux and Mac. The old, Unix only example is now called outputSinDacUnix.
from labjackpython.
Related Issues (20)
- liblabjackusb.so: undefined symbol: DigitalIO HOT 1
- reading zero values HOT 4
- Why does labjackpython package still enforce python=2.7? HOT 3
- NullHandleException() condition: None < int is syntax error HOT 2
- No examples for U12? HOT 3
- struct.pack error at low sample rates HOT 11
- I2C: not possible to wait for ACK HOT 3
- close() method does not release the device on Windows 10 HOT 3
- Output frequency on u3 HOT 1
- LabJack T7 Support HOT 3
- Some assistance needed with u3 and SPI HOT 1
- handling multiple labjacks on the same computer HOT 3
- Labjack U6 set dutycyle PWM16 HOT 2
- _openWirelessBridgeOnWindows() uses undefined names deviceType and handleOnly HOT 1
- i2c response handling differs on u6.py only HOT 1
- UE9.streamData() uses undefined name retResult HOT 1
- Index Error HOT 5
- Better packaging HOT 12
- Unable to find "labjackud" when running from Cygwin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from labjackpython.