问题描述
我是MS Visual的新手.网和我也迷路了.多年前,我在VB玩过,并且能够编写一些程序.没什么复杂的,我挣扎着.借助MS Visual Net,一应俱全 这些新的 附加项 ,我不知道那是什么用于以及何时用于 用过的.我花了几天的时间来弄清楚它们之间如何交互,要使用哪些,不使用哪些.我想编写一个程序,使我可以使用MS检查并行端口(64位)的I/O和状态引脚. 视觉的. Net2015.我在互联网上到处都看不到我能理解的任何东西. 很多 在我头上.我想检查所有的针脚.输出引脚,输入引脚,将输入更改为输出并使用诗句并查看状态 针脚.所以我的问题是这个,我知道它的 很多 至 问.有人有这样的程序吗,所以我可以看到 是什么 继续 并在代码中更深入地了解 添加以及我不需要哪些.我主要是在编程方面回过头来 PLC'c, 电子 布置控制和电源接线 指定 输出 传感器和控制面板.我 确实   ;将 喜欢学习如何编程启动,并且在一段时间后 该 尝试其他语言之一.
I'm new to MS Visual. Net and I am also lost. Years ago I played with VB and I was able to write a few programs. Nothing complicated and I struggled. With MS Visual Net there are all these new addons and I have no idea what there used for and when to used them. I spent days trying to figure out how they interact with one other, which ones to use and which ones not to. I would like to write a program that would allow me to check the I/O and status pins of a parallel port, 64 bit using MS Visual. Net 2015. I looked everywhere on the internet that I could not anything I could understand. A lot of it was over my head. I would like to check all of the pins. The output pins, input pins, change input to output and vise a verse and look at the status pins. So my question is this and I know its a lot to ask. Does anyone have a program like this so I can see whats going on in the code and get a better understanding of what to add and which ones I don't need. I mainly have a back round in programming PLC'c, electronics laying out control and power wiring specify out sensors and control panels. I realy would like to learn how to program starting and if I find comes easy to me after a while the try one of the other languages.
将引脚从高电平切换到低电平然后再次返回是有益的.
我将很感激任何帮助.我不是要隔音,但我愿意支付小笔钱 津贴. I 希望可能更多,但我已经是极限收入并且退休了. 我必须注意自己的费用.
I would appreciate any and all help. I don't mean to sound insulating, but I would be willing to pay a small stipend. I wish It could be more but as I am on a limit-income and retired. I have to keep an eye on my expenses.
问候
肯
推荐答案
但是您使用哪种类型的具有并行端口的64位计算机.
But what kind of 64 bit computer you use which has a parallel port .
在Wikipedia上阅读有关该端口的信息.
Read this about that port on Wikipedia.
https://en.wikipedia.org/wiki/Parallel_port
名称空间是串行端口
https://msdn .microsoft.com/en-us/library/system.io.ports(v = vs.110).aspx
If you look in the serialport you see sample code with VB
这篇关于我需要与视觉stdio 2015 parrall端口(64位)进行通信的哪些附加组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!