是德科技
直播中

陈嘉宁

8年用户 182经验值
私信 关注
[问答]

是否可以使用USB端口与外围设备通信?

我正在启动一个项目,我需要以适度高速(200kBits / s)的速度将数据传输到PC中。
我计划在具有低速USB功能的硬件中集成amicrocontroller,将数据传输回PC。
我假设VEE可以使用USB链接以与串行链路类似的方式与外围设备通信
我在任何VEE手册或VEE的仪器管理器部分都没有提到任何USB端口。任何人都可以告诉我是否可以使用USB端口与外围设备通信或提供任何建议,如果他们实际上已经这样做了?ThanksKevin ValentinePhysical

回帖(4)

李咏祥

2019-10-31 08:08:29
那里的任何人都知道如何在不使用“Unbuild Coord”对象的情况下拆除坐标?
我需要在公式中访问彼此独立的坐标,而不将它们拆分到公式对象之外。
有没有像:unbuildx()如果传递一个像'( - 1,1)'这样的coord会返回'-1'?目前我唯一的解决方案是通过asText语句解析数据并通过asReal语句返回值
但是这似乎做了很多野蛮的事情。我错过了什么?TIAScott ---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists
.it.agilent.com“。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要发送邮件到此邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent
.COM”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。

以上来自于谷歌翻译


     以下为原文

  Anybody out there know how to unbuild a coord without using the 'Unbuild Coord' object?  I need to access the coordinates independant of each other in a formula without splitting them up outside the formula object.  Is there something like:

unbuildx()  which would return '-1' if passed a coord like '(-1,1)'?

     Currently my only solution is to parse the data through an asText statement and return the value through an asReal statement, but this seems pretty brutal to do a lot of.

Am I missing something?

TIA
Scott



---
You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
举报

李秀云

2019-10-31 08:22:48
代表你的coord作为一个复杂。
符号是相同的(一个众所周知的vee“功能”。)然后使用“re”和“im”来拉出真实和虚构的部分。
(这不适用于更高维度的坐标。)“MORRISON,SCOTT(A-Sonoma,ex1)”写道:>>那里的任何人都知道如何在不使用“Unbuild Coord”对象的情况下解开坐标?
我需要在公式中访问彼此独立的坐标,而不将它们拆分到公式对象之外。
是否有类似:>> unbuildx(),如果传递了像'( - 1,1)'这样的coord,它将返回'-1'>> >>目前我唯一的解决方案是通过asText语句解析数据并返回值
通过asReal声明,但这似乎做了很多相当残酷。>>我错过了什么?>> TIA> Scott >> --->您目前订阅了vrf:steven.desmitt@kodak.com>
要订阅,请发送空白电子邮件至“join-vrf@it.lists.it.agilent.com”。>要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。>发送
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。
--Steven De Smitt |
585-722-9263 V |
steven.desmitt@kodak.comEastman柯达公司|
585-781-2999 P |邮编0115,Bldg 601 |
585-588-4939 F |罗彻斯特,纽约州14650-3115 ---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it.agilent。
“。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vrf@it.lists.it.agilent.com“。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。

以上来自于谷歌翻译


     以下为原文

  Represent your coord as a Complex. The notation is the same (a well
known vee "feature".) Then use "re" and "im" to pull out the real and
imaginary parts. (This won't work for higher dimensional coords.)

"MORRISON,SCOTT (A-Sonoma,ex1)" wrote:
>
>         Anybody out there know how to unbuild a coord without using the 'Unbuild Coord' object?  I need to access the coordinates independant of each other in a formula without splitting them up outside the formula object.  Is there something like:
>
> unbuildx()  which would return '-1' if passed a coord like '(-1,1)'?
>
>         Currently my only solution is to parse the data through an asText statement and return the value through an asReal statement, but this seems pretty brutal to do a lot of.
>
> Am I missing something?
>
> TIA
> Scott
>
> ---
> You are currently subscribed to vrf as: steven.desmitt@kodak.com
> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
> To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com".
> If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

--
Steven De Smitt           | 585-722-9263 V | steven.desmitt@kodak.com
Eastman Kodak Company     | 585-781-2999 P |
Mail Code 03115, Bldg 601 | 585-588-4939 F |
Rochester, NY 14650-3115

---
You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
举报

李咏祥

2019-10-31 08:32:31
完美!有时最简单的解决方案是最难找到的......我应该想到这个!谢谢斯科特莫里森-----原始信息-----来自:Michael A***ery [mailto:Michael.A***ery@nrl.navy
发送时间:2002年10月16日星期三下午12点57分:'MORRISON,SCOTT(A-Sonoma,ex1)';
'VEE vrf'Subject:RE:[vrf] Unbuild coord试试这个,我仍然使用'unbuild coord'对象,但是它们被埋没在用户函数中,可以在公式中调用.Mike -----原始消息---
- 来自:MORRISON,SCOTT(A-Sonoma,ex1)[mailto:scott_morrison@agilent.com]发送时间:2002年10月15日星期二下午3:47到:VEE vrfSubject:[vrf] Unbuild coordAnybody在那里知道如何解建
没有使用'UnbuildCoord'对象的坐标?
我需要在公式中访问彼此独立的坐标,而不将它们分开到公式对象之外。
是这样的东西:unbuildx(),如果传递一个像'( - 1,1)'这样的坐标会返回'-1'?目前我唯一的解决方案是通过asText语句解析数据并通过asReal语句返回值,但是
这样做似乎非常残忍。我错过了什么?TIAScott ---您目前订阅了vrf:r***@soco.agilent.com要订阅,请发送一封空白电子邮件至“join-vrf@it.lists.it。
agilent.com“。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要发送邮件到此邮件列表,请发送电子邮件至”vrf@it.lists.it.agilent.com“

如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。

以上来自于谷歌翻译


     以下为原文

  Perfect!
Sometimes the easiest solution is the hardest to find....I should have thought of that!
Thanks

Scott Morrison




-----Original Message-----
From: Michael A***ery [mailto:Michael.A***ery@nrl.navy.mil]
Sent: Wednesday, October 16, 2002 12:57 PM
To: 'MORRISON,SCOTT (A-Sonoma,ex1)'; 'VEE vrf'
Subject: RE: [vrf] Unbuild coord


Try this,  I still use the 'unbuild coord' object, but they are buried in
user functions which can be called in a formula.

Mike

-----Original Message-----
From: MORRISON,SCOTT (A-Sonoma,ex1) [mailto:scott_morrison@agilent.com]
Sent: Tuesday, October 15, 2002 3:47 PM
To: VEE vrf
Subject: [vrf] Unbuild coord


     Anybody out there know how to unbuild a coord without using the 'Unbuild
Coord' object?  I need to access the coordinates independant of each other
in a formula without splitting them up outside the formula object.  Is there
something like:

unbuildx()  which would return '-1' if passed a coord like '(-1,1)'?

     Currently my only solution is to parse the data through an asText statement
and return the value through an asReal statement, but this seems pretty
brutal to do a lot of.

Am I missing something?

TIA
Scott





---
You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
举报

李秀云

2019-10-31 08:42:08
RE:[vrf]转移WMFLinnell John M Contr 46 TW / TSRM |john.linnell@eglin.af.mil>写道:>我想通过GPIB>接口使用Instrument Direct I将WMF从仪器传输到我的计算机
/ O。>我的问题是我不知道如何设置READ事务格式(文本> Binblock等)>> John M LinnellJohn-这完全取决于仪器用于发送数据的格式。
它是二进制代码,binblock,有多大,终止器等等。一旦你知道 - 从仪器文档 - 然后你可以适当地设置DIO。如果你找不到文档,那么你可以通过运行IO监视器和
要求仪器发送WMF并查看发送的内容。
StanStanI认为文件传输就像将文件从一个驱动器复制到另一个驱动器。在阅读FSEM20手册后,我发现它是“块数据”。
每个块以ASCII字符#开头,下一个数字表示以下数字中有多少描述长度。
然后是数据字节。
我想我必须去除标题并将数据字节传输到文件中.John M Linnell BAE SYSTEMSTEST SITE A-6P.O。
Box1898Eglin AFB,Fl 32542-1898Voice:850 882-0240Fax:850 882-0474E-mail:Linnell@eglin.af.mil---您目前订阅了vrf:r***@soco.agilent.com要订阅发送空白电子邮件
到“join-vrf@it.lists.it.agilent.com”。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送邮件,请发送电子邮件至“
vrf@it.lists.it.agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。

以上来自于谷歌翻译


     以下为原文

  RE: [vrf] Transfer WMFLinnell John M Contr 46 TW/TSRM [email=%7Cjohn.linnell@eglin.af.mil]|john.linnell@eglin.af.mil[/email]> wrote:> I want to transfer a WMF from a instrument to my computer over the GPIB> interface using the Instrument Direct I/O.> My problem is I do not know how to set up the READ transaction format (Text> Binblock etc.)> > John M LinnellJohn- this completely depends upon what format the instrumentis using to send the data. Is it binary code, binblock, how big,what terminator, etc.Once you know that - from instrument docs - then you can set up theDIO appropriately.If you can't find docs then you can likely determine this byrunning the IO monitor and asking the instrument to send the WMFand looking to see what is sent. StanStanI thought the file transfer was like copying a file from one drive to another.Upon reading the FSEM20 manual I found out it is "block data".  Each block starts with the ASCII character #, the next number indicates how many of the following digits describe the length.  Then the data bytes following. I guess I have to strip away the header and transfer the data bytes into a file.John M LinnellBAE SYSTEMSTEST SITE A-6P.O. Box1898Eglin AFB, Fl 32542-1898Voice: 850 882-0240Fax:     850 882-0474E-mail:  Linnell@eglin.af.mil---You are currently subscribed to vrf as: [email=r***@soco.agilent.com]r***@soco.agilent.com[/email]To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com".  If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
举报

更多回帖

发帖
×
20
完善资料,
赚取积分